Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Show that when the trapezoid scheme given in formula (8) is used to approximate the solutionf(x)=exofy'=y,y(0)=1 , at x = 1, then we get yn+1=1+h21-h2yn,n = 0, 1, 2, . . . , which leads to the approximation (1+h21-h2)1hfor the constant e.Compute this approximation for h= 1,10-1,10-2,10-3,and10-4and compare your results with those in Tables 3.4 and 3.5.

Short Answer

Expert verified

h

y(1)=e

1

3

0.1

2.72055

0.01

2.71830

0.001

2.71828

0.0001

2.71828

Step by step solution

01

Apply iteration rule for the trapezoidal scheme

Here y'=y,y(0)=1

Apply the iteration rule for the trapezoidal scheme is

yn+1=yn+h2[f(xn,yn)+f(xn+1,yn+1)]

In our case of differential equation our equation is

yn+1=yn1+h21-h2

The interval is

b-an=1-0n=1n=hn=1h

02

Find the values of f(x) = ex

h

y(1)=e

1

3

0.1

2.72055

0.01

2.71830

0.001

2.71828

0.0001

2.71828

03

Substitute in the iteration rule for the trapezoidal scheme

Now,

y(1)=y(0+nh)=yny1=y(0)1+h21-h2=1+h21-h2y2=1+h21-h22...yn=1+h21-h2nyn=1+h21-h21h

Hence the solution is

h

e

1

3

0.1

2.72055

0.01

2.71830

0.001

2.71828

0.0001

2.71828

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

A snowball melts in such a way that the rate of change in its volume is proportional to its surface area. If the snowball was initially 4 in. in diameter and after 30 min its diameter is 3 in., when will its diameter be 2 in.? Mathematically speaking, when will the snowball disappear?

A 10-8-Fcapacitor (10 nano-farads) is charged to 50Vand then disconnected. One can model the charge leakage of the capacitor with a RC circuit with no voltage source and the resistance of the air between the capacitor plates. On a cold dry day, the resistance of the air gap is5ร—1013ฮฉ; on a humid day, the resistance is7ร—106ฮฉ. How long will it take the capacitor voltage to dissipate to half its original value on each day?

By experimenting with the improved Eulerโ€™s method subroutine, find the maximum value over the interval [0,2]of the solution to the initial value problemy'=sin(x+y),y(0)=2 Where does this maximum value occur? Give answers to two decimal places.

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. Carbon dating is often used to determine the age of a fossil. For example, a humanoid skull was found in a cave in South Africa along with the remains of a campfire. Archaeologists believe the age of the skull to be the same age as the campfire. It is determined that only 2% of the original amount of carbon-14 remains in the burnt wood of the campfire. Estimate the age of the skull if the half-life of carbon-14 is about 5600 years.

Find the equation for the angular velocity ฯ‰ in Problem15, assuming that the retarding torque is proportional to role="math" localid="1663966970646" ฯ‰

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