The answer is : f(x) =3sin(2x+pi/2)
Explain
There 0,3 on the graph
You use this formula
f(x)=asin(kx-c)+h
and the maximum and minimum value of this function
a+ h and -a+ h
So a=3 and h=0
So we have
We have; f(x)= 3sin(kx - c)
and we have from the graph;
f(O)=3
So
Sin(-c) =-1
Therefore C=. Pi/ 2 +2pi n
We have period of the function is pi
2pi/ k
k=2
So it will equal Pi
Do you have any doubts ?