Trigonometric Functions

Function

Description

acos(x)

Return the arc cosine of x, in radians.

asin(x)

Return the arc sine of x, in radians.

atan(x)

Return the arc tangent of x, in radians.

atan2(y, x)

Return atan(y / x), in radians.

cos(x)

Return the cosine of x radians.

hypot(x, y)

Return the Euclidean norm, sqrt(x*x + y*y).

sin(x)

Return the sine of x radians.

tan(x)

Return the tangent of x radians.

degrees(x)

Converts angle x from radians to degrees.

radians(x)

Converts angle x from degrees to radians.

Program on Trignametary functions
import math
print(math.acos(1))
print(math.asin(1))
print(math.atan(1))
print(math.atan2(1,3))
print(math.cos(1))
print(math.hypot(2,3))
print(math.sin(10))
print(math.tan(5))
print(math.degrees(10))
print(math.radians(45))

 

Mathematical Constants


Constants

Description

pi

The mathematical constant pi.

e

The mathematical constant e.

 

For
Online Classes

Contact Us: 9885348743