Question 871163
Yes, your equation is correct.
Sine or cosine, it doesn't matter, they are the same curve only phase shifted. 
.
.
.
{{{graph(300,300,-2,10,-10,140,100+20cos(2*pi*x))}}}