Use the Taylor methods of orders 2 and 4 with h = 0.25 to approximate the solution to the initial value problem y'=x+1-y,y(0)=1, at x = 1. Compare these approximations to the actual solutiony=x+e-x evaluated at x = 1.

Short Answer

Expert verified

ϕ21=1.3725ϕ41=1.3679

Step by step solution

01

Find the value of f2(x,y)

Herey'=x+1-y,y(0)=1

Apply the chain rule.

f2(x,y)=fx(x,y)+fy(x,y)f(x,y)

Sincef(x,y)=x+1-y

fx(x,y)=1fy(x,y)=-1

So, the equation isf2(x,y)=y-x

02

Evaluate the values of f3(x,y) and f4(x,y)

Apply the same procedure as step 1

f3(x,y)=x-yf4(x,y)=y-x

03

Apply the recursive formulas for order 2

The recursive formula is

xn+1=xn+hyn+1=yn+hf(xn+yn)+h22!f2(xn+yn)+.....hpp!fp(xn+yn)xn+1=xn+0.25yn+1=yn+0.25(xn+1-yn)+0.2522(yn-xn)

04

Apply the initial condition and find the values of x and y

Where starting points are xo=0,y0=1.

x1=0.25y1=1.03125

Put all these values in recursive formulas for the other values.

x2=0.5y2=1.11035x3=0.75y3=1.22684x4=1y4=1.11035

Therefore, the approximation of the solution by the Taylor method of order 2 at point

x = 1

ϕ21=1.3725

05

Apply the recursive formulas for order 4

xn+1=xn+0.25yn+1=yn+0.25(xn+1-yn)+0.2522(yn-xn)+0.2536(xn-yn)+0.25424(yn-xn)

06

Apply the initial condition and find the values of x and y

Where starting points are xo=0,y0=1.

x1=0.25y1=1.02881

Put all these values in recursive formulas for the other values.

x2=0.5y2=1.10654x3=0.75y3=1.22238x4=1y4=1.36789

Thus, the approximation of the solution by the Taylor method of order 4 at point

X = 1

ϕ41=1.3679

The actual solution at x = 1

y(x)=x+e-xy(1)=1.3678794

Now combining the approximation with the actual solution at x = 1

y(1)-ϕ21=0.00462y(1)-ϕ41=0.00002

Hence the solution isϕ2(1)=1.3725ϕ4(1)=1.3679

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

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?

A solar hot-water-heating system consists of a hot-water tank and a solar panel. The tank is well insulated and has a time constant of 64 hr. The solar panel generates 2000 Btu/hr during the day, and the tank has a heat capacity of 2°Fper thousand Btu. If the water in the tank is initially80°Fand the room temperature outside the tank is, what will be the temperature in the tank after 12 hr of sunlight?

The air in a small room 12 ft by 8 ft by 8 ft is 3% carbon monoxide. Starting at t = 0, fresh air containing no carbon monoxide is blown into the room at a rate of 100ft3/min. If air in the room flows out through a vent at the same rate, when will the air in the room be 0.01% carbon monoxide?

By experimenting with the fourth-order Runge-Kutta subroutine, find the maximum value over the interval \(\left[ {{\bf{1,2}}} \right]\)of the solution to the initial value problem\({\bf{y' = }}\frac{{{\bf{1}}{\bf{.8}}}}{{{{\bf{x}}^{\bf{4}}}}}{\bf{ - }}{{\bf{y}}^{\bf{2}}}{\bf{,y(1) = - 1}}\) . Where does this maximum occur? Give your answers to two decimal places.

Stefan’s law of radiation states that the rate of change of temperature of a body at Tdegrees Kelvin in a medium at M degrees Kelvin is proportional to M4-T4. That is dTdt=k(M4-T4),where kis a positive constant. Solve this equation using separation of variables. Explain why Newton’s law and Stefan’s law are nearly the same when Tis close to Mand Mis constant. [Hint: Factor M4-T4]


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