Computer >> Computer tutorials >  >> Programming >> Python

Trigonometric Functions in Python


Python includes following functions that perform trigonometric calculations.

Sr.NoFunction & Description
1acos(x)
Return the arc cosine of x, in radians.
2asin(x)
Return the arc sine of x, in radians.
3atan(x)
Return the arc tangent of x, in radians.
4atan2(y, x)
Return atan(y / x), in radians.
5cos(x)
Return the cosine of x radians..
6hypot(x, y)
Return the Euclidean norm, sqrt(x*x + y*y).
7sin(x)
Return the sine of x radians.
8tan(x)
Return the tangent of x radians.
9degrees(x)
Converts angle x from radians to degrees.
10radians(x)
Converts angle x from degrees to radians.