'''
How does a computer program create a sine wave?

The python math library has a sin function 

sin(x) returns the sine of x in radians, numeric value in range [-1, 1]

'''

import math 

print(math.sin(0))               # 0 degrees
print(math.sin(math.pi/4))       # 45 degrees
print(math.sin(math.pi/2))       # 90 degrees
print(math.sin(math.pi))         # 180 degrees