The sin function

Description

The sin function returns the sine of the parameter passed to it. The type of the value returned by this function is always real.

Parameter

The sin function's only parameter is a numeric expression (i.e. an expression of integral type or of real type) which is an angle in radians.

Example

   sin(pi/2)  returns  1.0

Portability

Operating Systems: All
Standard Pascal: Yes