CitectVBA Programming Reference > CitectVBA Function Reference > Math/Trigonometry Functions > Sin


Calculates the trigonometric Sine value of an angle. The Sin function expects the argument (Rad) to be a valid angle value in radians, and calculates the ratio of two sides of a right-angle triangle. The ratio is the length of the side opposite to the angle divided by the length of the hypotenuse.

To convert degrees to radians, multiply degrees by Pi/180 . To convert radians to degrees, multiply radians by 180/Pi. For more information, see Circle Maths.




An angle expressed in radians. Must be a valid numeric value.

Return Value

Returns the Sine value of the angle (Rad) provided in the argument. The result lies in the range - 1 to + 1.

Related Functions

Atn | Cos | Tan


Variable=Sin(0.7854); 	! Sets Variable to 0.7071