A sine function has an amplitude of 3, a period of π, and a phase shift of pi over 2 period What is the y-intercept of the function?

The sine fuction we have is
[tex]f(x)=3\sin \mleft(2x+\frac{\pi}{2}\mright)[/tex]If we want the y-intercept, we must put x = 0, then
[tex]\begin{gathered} f(x)=3\sin (2x+\frac{\pi}{2}) \\ \\ f(0)=3\sin (\frac{\pi}{2}) \\ \\ f(0)=3\cdot1 \\ \\ f(0)=3 \end{gathered}[/tex]Therefore the y-intercept is 3.