Short answer : No...it is not correct.
at t= 0 it should be at it's highest point
period is supposed to be 20 you have 16
difference between highest and lowest point is supposed to be 6 yours is much more...
also, you do not have midline resting position at y=0
try to rework it and come back......