Home >>Python math Module >Python math.expm1() Method
Python math.expm1() Method In python is used to calculate the power of E and subtracts One from it like Ex-1 (Where E is Euler's number approximately equal to 2.71828).
Syntax:math.expm1(x)
Parameter | Description |
---|---|
x | It is required a number to calculate the exponential Ex. |
import math
print(math.expm1(12))
print(math.expm1(-33.07))
import math
print(math.expm1(-1))
print(math.expm1(0.67))