A sinusodial function whose frequency is 3, maximum value is 12, minimum value is -6 has a y-intercept of 3.

What function could be the function described