Session -8 (Numbers 2-2)

  • Trigonometric Functions
  • Mathematical Constants

1.Trigonometric Functions

List of Trigonometric functions in Python on below :

Trigonometric functionsDescriptionExample
math.cos()It returns the cosine of the number (in radians).math.cos(x)
math.sin()It returns the sine of the number (in radians).math.sin(x)
math.tan()It returns the tangent of the number in radians.math.tan(x)
math.acos()It returns the arc cosine of the number in radians.math.acos(x)
math.asin()It returns the arc sine of the number in radians.math.asin(x)
math.atan()It returns the arc tangent of the number in radians.math.atan(x)
math.atan2()It returns the result of the atan(y/x).math.atan2(y,x)
math.pypot()Return the Euclidean norm, sqrt(x*x + y*y).math.pypot(x,y)

2.Mathematical Constants

      pi: П
      e : Base 10

Leave a comment