If the origin of the coordinate system lies on the graph, the function is y= a*sin(bx). Otherwise, the function is y= a*cos(bx).