if the function y = sin(x) is transformed to y = sin(2x), how does the graph change? it is stretched…

if the function y = sin(x) is transformed to y = sin(2x), how does the graph change? it is stretched vertically. it is compressed vertically. it is stretched horizontally. it is compressed horizontally.
Answer
Brief Explanations:
For a function $y = f(x)$ transformed to $y = f(bx)$ where $b>1$, the graph is horizontally compressed. Here, $b = 2$ for $y=\sin(2x)$ compared to $y = \sin(x)$. The period of $y=\sin(x)$ is $2\pi$ and the period of $y=\sin(2x)$ is $\frac{2\pi}{2}=\pi$, which means the graph repeats itself more quickly horizontally.
Answer:
It is compressed horizontally.