Frequency is the height (kinda) of the sine-wave. Smoothness is how smooth the sine-wave is. Change values and then click on green flag to get more accurate results.
credit to "rhuang2013" for the sine-wave code (i modified it tho)