powered by
Degree to Radian
d2r(x)
Degree
Radian
# NOT RUN { r = (1:100)/100 * 4 * pi d = r2d(r) rr = d2r(d) plot(d, sin(rr)); abline(h=0 ) abline(v = 360) # }
Run the code above in your browser using DataLab