Sin Question

Is there any way to implement a arcsin without radians?

I haven’t gotten to that unit in math yet, so I am very confused on how to do it. I kinda know from the sample program that a radian is like…pi over 180 or something.

So back to my main point

Is there any way to implement a arcsin without radians?

Use Panda’s deg2Rad() and rad2Deg() functions to convert from degrees to radians and back again.

So, the arc sine of 1.0, expressed in degress, is rad2Deg(math.asin(1.0)) = 90.

David

you could use the

Angular conversion:
degrees(x)
    Converts angle x from radians to degrees. 
radians(x)
    Converts angle x from degrees to radians.

of the python math module as well as their panda duplicates.
btw: 360 degrees =2*pi radians

for small angles: sin(x)=x (in radians) :slight_smile:
cooler than: sin(x)=pi/180*x (in degrees) :frowning: