programming-examples/python/Math/Square root and exponential of a given decimal number.py
2019-11-15 12:59:38 +01:00

4 lines
143 B
Python

from decimal import *
x = Decimal('1.44')
print("Square root of ",x, " is :", x.sqrt())
print("exponential of ",x, " is :", x.exp())