Python includes following functions that perform trigonometric calculations.
Sr.No | Function & Description |
---|---|
1 | acos(x) Return the arc cosine of x, in radians. |
2 | asin(x) Return the arc sine of x, in radians. |
3 | atan(x) Return the arc tangent of x, in radians. |
4 | atan2(y, x) Return atan(y / x), in radians. |
5 | cos(x) Return the cosine of x radians.. |
6 | hypot(x, y) Return the Euclidean norm, sqrt(x*x + y*y). |
7 | sin(x) Return the sine of x radians. |
8 | tan(x) Return the tangent of x radians. |
9 | degrees(x) Converts angle x from radians to degrees. |
10 | radians(x) Converts angle x from degrees to radians. |