Task 1
Follow the steps below to re-write any second-order ODE as a system of first-order ODEs.
1. If \( y \) appears in the ODE, re-write it as \( Y_{1} \).
2. If \( \frac{d y}{d t} \) appears in the ODE, re-write it as \( Y_{2} \).
3. Re-write the second derivative as \( \frac{d Y_{2}}{d t} \).
Your two first-order ODEs should only contain variables \( Y_{1} \) and \( Y_{2} \)
TASK
The local function secondOrder is located at the bottom of the script.
Complete the expressions for \( \mathrm{dY} 1 \mathrm{dt} \) and \( \mathrm{dY} 2 \mathrm{dt} \) so that secondOrder represents the following ODE:
\[
\frac{d^{2} y}{d t^{2}}+4 y=0
\]
Store dY1dt and dY2dt in a column vector named \( \mathrm{dYdt} \).