Sine Wave

  1. Write a program to draw the sine wave from 0 degree to 720 degree.
  2. Recall that you learned in Calculus class that, you can approximate a smooth curve by a series of line segments.
ex-sine_wave.png