Returns the sine of a number.
sin(value)
value
A value in radians, which can be any number type.
A floating-point or a complex number.
sin(PI/2)
1
sin(Fraction(1, 2))
0.479425538604203
sin(2+sqrt(-1))
1.4031192506220405880194908597677129-0.4890562590412936735864545685485158*I