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 50af0ba5 (Mon, 23 Feb 2026 11:44:41 GMT)