Answer
$y=2\sin{(2x-1)}$
Work Step by Step
The general form for the sinusoidal function is: $y=A\sin{(\omega x-\phi)}+B$ where $A$ is the amplitude, $B$ is the vertical shift, we need $\omega$ can be computed from the period by the formula $\omega=\frac{2\pi}{T}.$
The phase shift is $\frac{\phi}{\omega}$, hence $\phi=\omega\cdot\text{phase shift}.$
Hence here: $A=2$,
$B=0$,
$\omega=\frac{2\pi}{T}=\frac{2\pi}{\pi}=2$
$\phi=\omega\cdot\text{phase shift}=2\cdot\frac{1}{2}=1$.
Hence our function is: $y=2\sin{(2x-1)}$.