Return 'E' raised to the power of different numbers:
#Import math Library
import math
#find the exponential of the specified value
print(math.exp(65))
print(math.exp(-6.89))
Try it Yourself » Definition and UsageThe math.exp()
method returns E raised to the power of x (Ex).
'E' is the base of the natural system of logarithms (approximately 2.718282) and x is the number passed to it.
Syntax Parameter Values Parameter Description x Required. Specifies the exponent Technical Details Return Value: Afloat
value, representing 'E' raised to the power of x Python Version: 1.6.1
Track your progress - it's free!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4