Mathematical Functions

Mathematical Functions

1. Trigonometric Functions
A.) sin: Trigonometric sine elementwise. It has input an angle which is in radians(2*pie rad = 360 degrees). It has some similar functions to calculate cosine, tan, the inverse of sine, degree to radian conversion. etc, Here is a list of some useful trigonometric functions.
B.) cos: Trignometric cosine elementwise.
C.) tan: Trigonometric tan elementwise.
D.) degrees: Convert angles from degree to radians.

Trigonometric functions

Calculation of cosine using deg2rad function directly for converting into radians

2. Hyperbolic Functions
A.) sinh: Hyperbolic sine elementwise. It is equivalent for any value of x as- 1/2*(np.exp(x)-np.exp(-x)).
B.) cosh: Hyperbolic cosine elementwise. It is equivalent for any value of x as- 1/2*(np.exp(x)+np.exp(-x)).
C.) tanh: Hyperbolic tan elementwise. It is equivalent to any value of x as-np.sinh(x)/np.cosh(x).
There are many more mathematical functions for rounding, exponents, and logarithms, etc.
Close Menu