#------------------------------
#Number-theoretic and representation functions
#------------------------------
math.ceil(x)
#return the ceiling of x as a float, the smallest integer value >= x

math.factorial(x)
#Return x factorial. Value error if x is not integral or is negative.

math.floor(x)
#Return the floor of x as a float, the largest integer value =< x

math.fsum(iterable)
#return an accurate floating point sum of values in the iterable.
#avoids loss of precision by tracking multiple intermediate partial sums.

#------------------------------
#Power and logarithmic Functions
#------------------------------

math.exp(x)
#return e**x

math.log(x[,base])
#with one argument, return the natural logarithm of x (to base e)
#with two arguments, return the logarithm of x to the given base
    #calculated as log(x)/log(base)

math.pow(x,y)
#Return x raised to the power y.

math.sqrt(x)
#Return the square root of x

#------------------------------
#Trigonometric function
#------------------------------

math.acos(x)
#return the arc cosine of x, in radians

math.asin(x)
#return the sine of x, in radians

math.cos(x)
#return the cosine of x radians

math.hypot(x, y)
#return the Euclidean norm.
#This is the length of the vector from the origin to point (x, y).

math.sin(x)
#return the sine of x in radians

math.tan(x)
#return the tangent of x radians

#------------------------------
#Angular conversion
#------------------------------

math.degrees(x)
#Convert angle x from radians to degrees.

math.radians(x)
#Convert angle x from degrees to radians


#------------------------------
#special functions
#------------------------------

math.erfc(x)
#return the error function at x.

math.gamma(x)
#return the gamma function at x.

math.lgamma(x)
#return the natural logarithm of the absolute value of the gamma function at x.

#------------------------------
#Constants
#------------------------------

math.pi
#Mathmatical constant 3.141592...

math.e

#the mathmatical constant 2.718281...




