2 * atan2( sqrt(a), sqrt(1-a) )
atan2 is not in the window scope. Try Math.atan2: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/atan2
1 Like
2 Likes