Numerical Methods for Engineers
Numerical Methods for Engineers
7th Edition
ISBN: 9789814670876
Author: Chapra
Publisher: BOOKXCHANG
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 26, Problem 1P

Given

d y d x = 200 , 000 y + 200 , 000 e x e x

(a) Estimate the step-size required to maintain stability using the explicit Euler method.

(b) If y ( 0 ) = 0 , use the implicit Euler to obtain a solution from t = 0  to 2 using a step size of 0.1.

(a)

Expert Solution
Check Mark
To determine

To calculate: The step-size required to maintain stability of differential equation, dydx=200,000y+200,000exex using the explicit Euler method.

Answer to Problem 1P

Solution:

The step-size required to maintain stability of the given differential equation is h<1×105.

Explanation of Solution

Given Information:

Differential equation, dydx=200,000y+200,000exex.

Formula used:

The stability of formula depends upon step size h and step size must satisfy the condition, |1ah|<1.

Calculation:

Consider the differential equation, dydx=200,000y+200,000exex.

Now, it is known that if dydx=ax is a first order differential equation, then the solutionis y=y0eax.

So, using Euler’s method, yi+1=yi+dyidxh.

Thus,

yi+1=yi+dyidxh=yiayih=yi(1ah)

The stability of formula depends upon step size h and step size must satisfy the condition, |1ah|<1.

Now, the first order differential equation given is,

dydx=200,000y+200,000exex

The step size required to maintain the stability is,

h<2200,000

Hence, h<1×105.

(b)

Expert Solution
Check Mark
To determine

To calculate: The solution of the differential equation, dydx=200,000y+200,000exex from t=0 to 2 using the implicit Euler method if y(0)=0 and step size is 0.1.

Answer to Problem 1P

Solution:

The solution of the given differential equation is:

xy000.10.9047880.20.8187310.30.7408180.40.670320.50.6065310.60.5488120.70.4965850.80.4493290.90.4065710.367881.10.3328711.20.3011941.30.2725321.40.2465971.50.223131.60.2018971.70.1826841.80.1652991.90.14956920.135335

Explanation of Solution

Given Information:

The differential equation, dydx=200,000y+200,000exex, t=0 to 2. Initial value, y(0)=0 and step size is 0.1.

Formula used:

The implicit Euler’s formula is,

yi+1=yi+dyi+1dxh

Calculation:

Consider the differential equation, dydx=200,000y+200,000exex.

The implicit Euler’s formula is,

yi+1=yi+dyi+1dxh

Implicit formula for the given differential equation can be written as,

yi+1=yi+(200,000yi+1+200,000exi+1exi+1)h

Simplify further,

yi+1=yi+(200,000exi+1exi+1)h1+200,000h=yi+(199999exi+1)h1+200,000h

Substitute h=0.1 in above equation,

yi+1=yi+(199999exi+1)h1+200,000h=yi+(199999exi+1)0.11+200,000(0.1)=yi+(19999.9exi+1)20001

Thus, yi+1=yi+(19999.9exi+1)20001

Substitute i=0 and x1=0.1 in above equationas shown below,

y1=y0+(199999ex1)×0.11+200,000×0.1

As y(0)=0

y1=0+(19999.9e0.1)20001=0.904788

Use excel to find all the iteration with step size h=0.1 from x=0 to 2 as below,

Step 1. First put value of x in the excel as shown below,

Numerical Methods for Engineers, Chapter 26, Problem 1P , additional homework tip  1

Numerical Methods for Engineers, Chapter 26, Problem 1P , additional homework tip  2

Step 2. Now name the column B as y and go to column B2 and put value 0.

Step 3. Now, go to column B3 and write the formula as,

=(B2+(19999.9*(EXP(-A3))))/20001

Then, Press enter and drag the column up to the x=2.

Thus, all the iterations are as shown below,

Numerical Methods for Engineers, Chapter 26, Problem 1P , additional homework tip  3

Numerical Methods for Engineers, Chapter 26, Problem 1P , additional homework tip  4

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Knowledge Booster
Background pattern image
Advanced Math
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Advanced Engineering Mathematics
Advanced Math
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Wiley, John & Sons, Incorporated
Text book image
Numerical Methods for Engineers
Advanced Math
ISBN:9780073397924
Author:Steven C. Chapra Dr., Raymond P. Canale
Publisher:McGraw-Hill Education
Text book image
Introductory Mathematics for Engineering Applicat...
Advanced Math
ISBN:9781118141809
Author:Nathan Klingbeil
Publisher:WILEY
Text book image
Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,
Text book image
Basic Technical Mathematics
Advanced Math
ISBN:9780134437705
Author:Washington
Publisher:PEARSON
Text book image
Topology
Advanced Math
ISBN:9780134689517
Author:Munkres, James R.
Publisher:Pearson,
01 - What Is A Differential Equation in Calculus? Learn to Solve Ordinary Differential Equations.; Author: Math and Science;https://www.youtube.com/watch?v=K80YEHQpx9g;License: Standard YouTube License, CC-BY
Higher Order Differential Equation with constant coefficient (GATE) (Part 1) l GATE 2018; Author: GATE Lectures by Dishank;https://www.youtube.com/watch?v=ODxP7BbqAjA;License: Standard YouTube License, CC-BY
Solution of Differential Equations and Initial Value Problems; Author: Jefril Amboy;https://www.youtube.com/watch?v=Q68sk7XS-dc;License: Standard YouTube License, CC-BY