0 votes

An ordinary differential equation $\text{(ODE)}, \: \dfrac{dy}{dx}=2y$, with an initial condition $y(0)=1$, has the analytical solution $y=e^{2x}$.

Using Runge-Kutta second order method, numerically integrate the $\text{ODE}$ to calculate $y$ at $x=0.5$ using a step size of $h=0.5$.

If the relative percentage error is defined as, $$\varepsilon = \begin{vmatrix} \dfrac{y_{\text{analytical}} – y_{\text{numerical}}}{y_\text{analytical}} \end{vmatrix} \times 100$$ Then the value of $\varepsilon$ at $x=0.5$ is _________

- $0.06$
- $0.8$
- $4.0$
- $8.0$