Solution:
From the given functions,
To find the period of a function, the formula is
[tex]Period=\frac{2\pi}{B}[/tex]Where;
[tex]\begin{gathered} Period=2 \\ 2=\frac{2\pi}{B} \\ 2B=2\pi \\ B=\pi \end{gathered}[/tex]Where b is the coefficient of x is b,
And the general sine function is
[tex]y=sin(Bx-C)+D[/tex]From the given functions,
The function's graph that have a period of 2 is the function with the value B = π
[tex]y=-4\sin(\pi x)[/tex]Hence, the answer is option D