Will this value be in radians or degrees?

3absh3absh Member, PRO Posts: 584
edited August 2016 in Working with GS (Mac)

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

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    edited August 2016

    @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) ?

  • 3absh3absh Member, PRO Posts: 584

    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

  • zweg25zweg25 Member Posts: 738

    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

Sign In or Register to comment.