0% found this document useful (0 votes)
320 views2 pages

Practice Questions of ODE's Numerical Solution: Y, y X DX Dy

The document presents 5 practice questions involving the numerical solution of ordinary differential equations using Euler's method, modified Euler's method (Runge-Kutta of order 2), and Runge-Kutta method of order 4. Each question provides an ODE, initial condition, and asks to compute an output value using the specified numerical methods and step size. Actual solutions are provided to compare the results.

Uploaded by

Duaa Zehra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
320 views2 pages

Practice Questions of ODE's Numerical Solution: Y, y X DX Dy

The document presents 5 practice questions involving the numerical solution of ordinary differential equations using Euler's method, modified Euler's method (Runge-Kutta of order 2), and Runge-Kutta method of order 4. Each question provides an ODE, initial condition, and asks to compute an output value using the specified numerical methods and step size. Actual solutions are provided to compare the results.

Uploaded by

Duaa Zehra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Practice Questions of ODE’s Numerical Solution

dy
Q1). For the given differential equation  2 x  y, y (0)  1 . Compute y (1.0) by suing
dx
(i) Euler Method.
(ii) Modified Euler Method.
(iii) Runge-Kutta method of Order 4. (Taking step size h  0.25. )
dy t  y
Q2). Solve the differential equation  , y (2)  2. Compute y (2.4) by using
dt t
(i) Euler Method.
(ii) Modified Euler Method.
(iii) Runge-Kutta method of Order 4. (Taking step size h  0.2. )
Also compare the results with actual solution. The actual solution is y(t )  t ln (0.5 t )  1

Q3). Find the actual length of the steel tower y (t ) , if after an earthquake it started to deform with
dy 2
time t, modelled by the differential equation  t  2 yt  y 2 , y(0)  1 , h  0.2 at y(0.6) by
dt
using

(i) Euler Method.


(ii) Runge-Kutta method of Order 2.
(iii) Runge-Kutta method of Order 4.

Q4). The rate at which a body cools proportional to a difference between the temperatures of the
body and that of the surrounding air, if a body in air at 25 degree centigrade. The differential
equation of the described model is
dT
 k (T  25)
dt
Initially the temperature of the water is 100 degrees centigrade at time t = 0 and the constant
value k = 3. Calculate the temperature of water after 6 minutes by using

(i) Euler Method.


(ii) Runge-Kutta method of Order 2.
(iii) Runge-Kutta method of Order 4. (Taking step size h  1.5 )
Also compare the results with actual solution. The actual solution is T (t )  75 e3 t  25

Q5). An inductance of 2 Henneries and at a resistance of 20 ohms are connected in series with a
E.M.F E volts is modelled by the differential equation
  E  RI 
dI 1
dt L
Initially the current in the circuit at time t = 0 is zero. Calculate the current at the end of 7
seconds when E = 100 volts by using

(i) Euler Method.


(ii) Runge-Kutta method of Order 2.
(iii) Runge-Kutta method of Order 4. (Taking step size h  1.75 )

Also compare the results with actual solution. The actual solution is I (t )  5 1  e10t 
1
Note that the Runge –Kutta method of second order is the modified Euler method. The formula
for the R-K method of order 2 is,

k1  h f xn , yn 
k 2  h f xn  h, yn  k1 
k  0.5 k1  k 2 
yi 1  yi  k

You might also like