The ordinary differential equation \(\frac{{{\rm{dy}}}}{{{\rm{dt}}}} = - 3{\rm{x}} + {\rm{}}2,{\rm{with\ x}}\left( 0 \right){\rm{\;}} = {\rm{\;}}1\)
Concept:
Euler’s method equation is given by:
yj+1 = yj + h f (xj, yj)
Taking test equation y’ = λy
Yj+1 = yj + h λ yj
= (1 + hλ) yj
Condition for stability is:
|1 + hλ| < 1, i.e.
- 1 < 1 + h λ < 1
Application of Concept:
Given:
\(\frac{{dy}}{{dt}} = - 3x + 2\) with x(0) = 1
f(t, x) = -3x +2
yn+1 = yn + hf (t, yn)
= yn + h(-3yn + 2)
= yn – 3yn h + 2h
Yn+1 = yn (1 – 3h) + 2h
|1 – 3h| < 1
-1 < 1 – 3h < 1
-2 < -3h < 0
0 < 3h < 2
\(0 < h < \frac{2}{3}\)
\({h_{max}} = \frac{2}{3} = 0.66\)
∴ The largest time step that can be used to solve the equation without instability is
hmax = 0.66
Solution of the differential equation (1 + 3x)dy - (1 - 3y)dx = 0, y(1) = 0 is
Consider an ordinary differential equation. \(\frac{{{\rm{dx}}}}{{{\rm{dt}}}} = 4{\rm{t}} + 4.\) If x = x0 at t = 0, the increment in x calculated using Runge-Kutta fourth order multi-step method with a step size of Δt = 0.2 is
If, \(\frac{{dy}}{{dx}} = x + y,y\left( 0 \right) = 1\) using Runge’s method the value of y at x = 0.2, when h = 0.2 is
A continuous function f(x) is defined. If the third derivative at xi is to be computed by using he fourth order central finite divided difference scheme (with step length = h) the correct formula is
f(z) = (z − 1)−1 − 1 + (z − 1) − (z − 1)2 + ⋯ is the series expansion of