In a right angled triangle sin(val) = Opposite / Hypotenuse where val is one of the three angles.
NOTE: This function takes a value in radians not degrees.
sin(val);
Argument | Type | Description |
---|---|---|
val | Real | The angle (in radians) to return the sine of. |
val = sin( pi/2 );
This will set val to 1.