# python tutorial - Complex Numbers in Python | Trigonometric and Hyperbolic Functions - learn python - python programming

Trigonometric Functions

1. sin() : This function returns the sine of the complex number passed in argument.

2. cos() : This function returns the cosine of the complex number passed in argument.

3. tan() : This function returns the tangent of the complex number passed in argument.

python - Sample - python code :

python tutorial - Output :

```The sine value of complex number is : (1.2984575814159773+0.6349639147847361j)
The cosine value of complex number is : (0.8337300251311491-0.9888977057628651j)
The tangent value of complex number is : (0.2717525853195118+1.0839233273386946j)
```

4. asin() : This function returns the arc sine of the complex number passed in argument.

5. acos() : This function returns the arc cosine of the complex number passed in argument.

6. atan() : This function returns the arc tangent of the complex number passed in argument.

python - Sample - python code :

python tutorial - Output :

```The arc sine value of complex number is : (0.6662394324925153+1.0612750619050357j)
The arc cosine value of complex number is : (0.9045568943023814-1.0612750619050357j)
The arc tangent value of complex number is : (1.0172219678978514+0.40235947810852507j)
```

Hyperbolic Functions

1. sinh() : This function returns the hyperbolic sine of the complex number passed in argument.

2. cosh() : This function returns the hyperbolic cosine of the complex number passed in argument.

3. tanh() : This function returns the hyperbolic tangent of the complex number passed in argument.

python - Sample - python code :

python tutorial - Output :

```The hyperbolic sine value of complex number is : (0.6349639147847361+1.2984575814159773j)
The hyperbolic cosine value of complex number is : (0.8337300251311491+0.9888977057628651j)
The hyperbolic tangent value of complex number is : (1.0839233273386946+0.2717525853195117j)
```

4. asinh() : This function returns the inverse hyperbolic sine of the complex number passed in argument.

5. acosh() : This function returns the inverse hyperbolic cosine of the complex number passed in argument.

6. atanh() : This function returns the inverse hyperbolic tangent of the complex number passed in argument.

python - Sample - python code :

python tutorial - Output :

```The inverse hyperbolic sine value of complex number is :
(1.0612750619050357+0.6662394324925153j)
The inverse hyperbolic cosine value of complex number is :
(1.0612750619050357+0.9045568943023813j)
The inverse hyperbolic tangent value of complex number is :
(0.40235947810852507+1.0172219678978514j)
```

Wikitechy tutorial site provides you all the learn python , online python course with certificate , python coding course , python scripting course python programming course online free