Show that when Euler’s method is used to approximate the solution of the initial value problem y'=-12y,y(0)=3,at x = 2, then the approximation with step size h is3(1-h2)2h .

Short Answer

Expert verified

Proved

Step by step solution

01

Apply Euler’s formula

Here y'=-12y,y(0)=3

Apply the Euler’s formula

yn+1=yn+hf(xn,yn)

In our case of differential equation our equation is

yn=3(1-h2)n

The interval is

b-an=2-0n=2nn=2h

02

substitute in the Euler’s formula 

Now,

y1=31-h2y2=31-h22...yn=31-h2nyn=31-h22h

Hence it is proved that yn=31-h22h

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Use the fourth-order Runge–Kutta subroutine with h = 0.25 to approximate the solution to the initial value problemy'=x+1-y,y(0)=1, at x = 1. Compare this approximation with the one obtained in Problem 5 using the Taylor method of order 4.

In Problems 23–27, assume that the rate of decay of a radioactive substance is proportional to the amount of the substance present. The half-life of a radioactive substance is the time it takes for one-half of the substance to disintegrate. If initially there are 300 g of a radioactive substance and after 5 yr there are 200 g remaining, how much time must elapse before only 10 g remain?

Early Monday morning, the temperature in the lecture hall has fallen to 40°F, the same as the temperature outside. At7:00a.m., the janitor turns on the furnace with the thermostat set at70°F. The time constant for the building is1k=2hrand that for the building along with its heating system is1k1=12hr. Assuming that the outside temperature remains constant, what will be the temperature inside the lecture hall at8:00a.m.? When will the temperature inside the hall reach65°F?

Show that when the improved Euler’s method is used to approximate the solution of the initial value problem y'=4y,y(0)=13, atx=12 , then the approximation with step size his13(1+4h+8h2)12h .

Transmission Lines.In the study of the electric field that is induced by two nearby transmission lines, an equation of the formdzdx+g(x)z2=f(x)arises. Letf(x)=5x+2andg(x)=x2. If z(0)=1, use the fourth-order Runge–Kutta algorithm to approximate z(1). For a tolerance ofε=0.0001, use a stopping procedure based on the absolute error.

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free