What frequency did you want?

Just remeber that they use the sin function to model waves.

y = Asin(ωt + Φ)

Your not really modeling a wave but you can use this function to generate any sin wave that you wish.

A is the amplitude, the maximum displacement positive and negative from the x axis.

Φ is just a phase shift, which you can add or subtract based on what height you wish to begin. Otherwise your wave will always start at zero.

ωt is the frequency, if you just make this x and are using degrees you will be at the same point every 360 units. You can divide or multiply x by a constant to vary this as much as you want.

If you divide the frequency by an increasing factor such as another function of x then you will produce a dampening effect which more closely models a true wave.

Learn to play around with all of those factors and you can create a limitless number of different waves.