Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
In the idealized physical world, a rotor is simply a mass
The current state of the rotor is completely described by the current angle of rotation
If the rotor rotates at an angular velocity
where
The dimensionless angular momentum
Now, the (already dimensionless) angle equation can be manipulated a little. We notice that
where we can, without loss of generality, apply
This is the famous Chirikov standard map which describes the behavior of the kicked rotor right after the kicks. It maps a phase space point
What follows is an R-script that chooses 1000 random points on the square
smap<-function(t,l) { K<- 1 for ( i in seq(1e3) ) { t[i+1]<- (t[i]+l[i]) %% (2*pi) l[i+1]<- (l[i]+K*sin(t[i+1])) %% (2*pi) } cbind(t,l) } par(mar=rep(0,4)) plot(NULL,xlim=c(0,2*pi),ylim=c(0,2*pi),axes=F,xlab="",ylab="") for (i in seq(1000) ) { t<-c(runif(1)*2*pi,runif(1)*2*pi) m<-smap( t[1],t[2] ) points(m[,1],m[,2],col=rgb(runif(1),runif(1),runif(1)) ,pch=".",cex=2) }
And this is the output:
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.