Find a function of the form y=Asin(kx)+C\displaystyle {y}={A}{\sin{{\left({k}{x}\right)}}}+{C} or y=Acos(kx)+C\displaystyle {y}={A}{\cos{{\left({k}{x}\right)}}}+{C} whose graph matches the function shown below:

123456789101112-1-2-3-4-5-6-7-8-9-10-11-12-13-14-15-161234567-1-2-3-4-5-6-7

Leave your answer in exact form; if necessary, type pi for π\displaystyle \pi.

y=\displaystyle {y}=