Chemical Engineering
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 _________

  1. $0.06$
  2. $0.8$
  3. $4.0$
  4. $8.0$
in Numerical Methods by (1.4k points)
recategorized by

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE Chemical Q&A, where you can ask questions and receive answers from other members of the community.
650 questions
12 answers
3,084 users