powered by
W2theta(W)
theta2W
theta = c(pi/6,pi/4,pi/2) (W = theta2W(theta)) #Recover theta: W2theta(W)
Run the code above in your browser using DataLab