Sin

Calculates the sine.

Syntax:

Sin(x)

Parameters:

(f) x angle in radians.

Returns:

(f) The Sin function returns the sine of x.

 

Calculates the sine. If the passed parameter is large, a loss in significance in the result or significance error may occur.

Note: To convert an angle measured in degrees to radians, simply multiply by the constant @Deg2Rad.

Example:


real=AskLine("Sine", "Enter an angle between 0 and 360", "45", 0)
answer=Sin(real * @DEG2RAD)
Message("Sine of %real% degrees is", answer)
See Also:

Acos, Asin, Atan, Cos, Tan, Sinh