Sin

Description

The sin(x) function returns value of sine for each value of the given x. This and other trigonometric functions can take values in radians, degrees, and gradian. The units are determined by the system.math.angularunits object property (which can also be set in the Options dialog box).

Syntax

double sin( double x)

Parameter

x:

can be any real number.

Return

Returns value of sine of x.

Example

aa = sin(10);
aa = ; //should return -0.54402111088937

See Also

cos, tan, cot, secant, csc