sin(
ANGLE
)

The sin( function calculates the sine of an angle.


Parameters

This function has one parameter:

angle – a numeric value, an angle. The angle is usually specified in a mathematical unit of measurement called radians, however, within a procedure you can temporarily force Panorama to use degrees (see below). One radian is equal to approximately 57.2958 degrees (the exact value is 180/pi).


Description

This function calculates the sine of an angle. The graph below shows the result of the sin( function given input values from -20 to +20 radians.

y = sin( x )
y = sin( x )

The sin( function normally accepts input angles in radians. In a procedure you can tell Panorama to switch to using degrees instead, like this:

degree
NewAngle=sin(Angle)

The degree statement tells Panorama to use degrees instead of radians in all trigonometry calculations. Panorama will continue to use degrees until the end of the procedure, or until a radian statement is encountered.


See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0