import math

print "\nmath.exp(x)"
print math.exp(0)
print math.exp(1) 
print math.exp(5)
print math.exp(-5)
print math.exp(12.3)
print math.exp(-21.3)

print "\nmath.log(x[,base])"
print math.log(1.0)
print math.log(2.718281828459045)
print math.log(148.4131591025766)
print math.log(0.006737946999085467)
print math.log(219695.9886721379)
print math.log(0.000004551744463083231)
print math.log(8,2)
print math.log(16,4)
print math.log(12345,78)

print "\nmath.log10(x)"
print math.log10(10)
print math.log10(100.0)
print math.log10(12324334.8592)
print math.log10(0.0001)

print "\nmath.pow(x,y)"
print math.pow(3,5.0)
print math.pow(3,-5.0)
print math.pow(-3.0,5)
print math.pow(-3.0,-5.0)
print math.pow(0.0,0.0)

print "\nmath.sqrt(x)"
print math.sqrt(4)
print math.sqrt(100.0)
print math.sqrt(124.4)
print math.sqrt(0)

print "\nconstants"
print math.pi
print math.e
