I want to use an attribute inside a Sin function. But I'm not sure if it will be used as radians or degrees.

@abuabed84 said: I want to use an attribute inside a Sin function. But I'm not sure if it will be used as radians or degrees.

The sin function will read the angle in degrees.

Also, 4sin(x) is an invalid expression, '4sin' doesn't mean anything, do you mean 4*sin(x) ?

No wonder it didn't work lol

To convert from radians to degrees you multiply your x radians by 180/pi

To convert from degrees to radians you multiply your x degrees by pi/180

## Comments

12,822The sin function will read the angle in degrees.

Also, 4sin(x) is an invalid expression, '4sin' doesn't mean anything, do you mean 4*sin(x) ?

580No wonder it didn't work lol

738To convert from radians to degrees you multiply your x radians by 180/pi

To convert from degrees to radians you multiply your x degrees by pi/180