y=3cos(pi X - 2) + 5