Complete the sentence below.
The maximum value of $y=\sin x, 0 \leq x \leq 2 \pi$, is and occurs at $x=$
The maximum value of $y=\sin x, 0 \leq x \leq 2 \pi$, is $\square$ and occurs at $x=$ (Simplify your answers. Type exact answers, using $\pi$ as needed.)
Final Answer: The maximum value of \(y=\sin x, 0 \leq x \leq 2 \pi\), is \(\boxed{1}\) and occurs at \(x=\boxed{\frac{\pi}{2}}\).
Step 1 :The function \(y=\sin x\) is a periodic function with period \(2\pi\). It reaches its maximum value of 1 at \(x=\frac{\pi}{2}\) within the interval \(0 \leq x \leq 2 \pi\).
Step 2 :Final Answer: The maximum value of \(y=\sin x, 0 \leq x \leq 2 \pi\), is \(\boxed{1}\) and occurs at \(x=\boxed{\frac{\pi}{2}}\).