A sinusoidal function whose period is π/2 , maximum value is 10, and minimum value is −4 has a y-intercept of 3. What is the equation of the function described?