Practice Questions of ODE's Numerical Solution: Y, y X DX Dy
Practice Questions of ODE's Numerical Solution: Y, y X DX Dy
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
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
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
k1 h f xn , yn
k 2 h f xn h, yn k1
k 0.5 k1 k 2
yi 1 yi k