SIN Function

SIN(a)

Returns the sine of a.

Parameters

a(REAL)

The input value in radians.

Return Value

Returns a REAL.

Remarks

Notice a is in radians. To convert a value from degrees to radians, multiply the degrees value by π/180. The RMC has an M_PI constant for π.

Examples

SIN(1.5707964) returns 1.0

SIN(45 * M_PI / 180) returns 0.70710677

 

See Also

COS Function | TAN Function | ACOS Function | Standard Functions


Send comments on this topic.

Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion