sin sine in degrees

sin x computes the sine of the angle x, where x is measured in degrees:

write sin 90

To compute the sine in radians, you can use Math.sin instead:

write Math.sin PI/2

Other trigonometric functions include cos and tan.