All Exams Test series for 1 year @ ₹349 only
Question

The ordinary differential equation \(\frac{{{\rm{dy}}}}{{{\rm{dt}}}} = - 3{\rm{x}} + {\rm{}}2,{\rm{with\ x}}\left( 0 \right){\rm{\;}} = {\rm{\;}}1\)

is to be solved using the forward Euler method. The largest time step that can be used to solve the equation without making the numerical solution unstable is ________.

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 

Was this answer helpful?

Important Questions from Solutions of Differential Equations

  1. Solution of the differential equation (1 + 3x)dy - (1 - 3y)dx = 0, y(1) = 0 is

  2. 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

  3. 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

  4. 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

  5. f(z) = (z − 1)−1 − 1 + (z − 1) − (z − 1)2 + ⋯ is the series expansion of

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App