sin

Function

sin(angle)

angle

Use

The Sin() function returns the sine of an angle. The input must have an angular unit, but unitless is acceptable and will be treated as radians.

Sin() works with complex numbers.

Examples of trig functions
  • Cos(0.5)  = 0.878
  • Cos(0.5 rad)  = 0.878
  • Sin(45 deg)  = 0.707
  • Tan(1 + i)  = 0.272 + 1.0839i
  • Tan((60 + 30i) deg)  = 0.787 + 1.135i

 

 


sin is included by default in each file as part of the Math library.

 

See also: