Documentation

Function defined in library math

sin(angle)

sinangle

Returns the sine of the given angle.

angleangle in radians

Sine of the angle
Code
sin(0)
Result
0.0
Code
sin(pi / 2)
Result
1.0

See also sin in the official documentation

Logo of PyTamaro

PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI

Privacy PolicyPlatform Version 7c19cd0 (Thu, 04 Dec 2025 07:19:38 GMT)