\({U}_{\max }=\frac{1}{2} {kA}^{2} \Rightarrow 10=\frac{1}{2} {k}(2)^{2}\)
\(\Rightarrow {k}=5\)
Now \({T}_{\text {spring }}={T}_{\text {pendulum }}\)
\(2 \pi \sqrt{\frac{5}{5}}=2 \pi \sqrt{\frac{4}{g}}\)
\(\Rightarrow 1=\sqrt{\frac{4}{g}} \Rightarrow g=4 \text { on planet }\)
$(A)\;y= sin\omega t-cos\omega t$
$(B)\;y=sin^3\omega t$
$(C)\;y=5cos\left( {\frac{{3\pi }}{4} - 3\omega t} \right)$
$(D)\;y=1+\omega t+{\omega ^2}{t^2}$