cos(angle)
Returns the cosine of the given angle.
angleangle in radians
cos(0)1.0
cos(pi)-1.0
See also cos in the official documentation

PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI
Privacy Policy • Platform Version 56ac2f1 (Mon, 12 Jan 2026 12:40:58 GMT)