import math

# constants
math.pi                         # 3.14159265359
math.e                          # 2.71828182846

# numerical operations, more at https://docs.python.org/2/library/math.html
math.floor(2.945)               # 2.0
math.trunc(2.945)               # 2
math.factorial(5)               # 120
math.exp(1)                     # 2.71828182846
math.sqrt(16)                   # 4.0

# example
math.sin(4 * math.pi / 180)     # 0.0697564737441

'''
Michael Sjoeberg
2018-11-05
https://github.com/michaelsjoeberg/python-playground/blob/master/basics/math.py
'''