Standard Map

Q = 0.320

Choose a value for the (synchrotron) tune Qs, then enter the number of iterations. Hit return to make the number appear on the button that initially says "0 more", and then click the mouse in the window where you would like to launch a test particle. You may repeat this step several times! The following equations are used to generate the motion:

	until done {
		d  =  sqrt(2.0*(1.0 - cos(2*pi*Qs)) )
		q  =  q + 0.5*d*p
		p  =  p - d*sin(q) 
For example, you might want to try Qs = 0.18, and 500 iterations.