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

Short Answer

Expert verified

ϕ2(1)=0.6274ϕ4(1)=0.6227

Step by step solution

01

Find the value of f2(x,y)

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

Apply the chain rule.

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

Sincef2(x,y)=1-y

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

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

02

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

Apply the same procedure as step 1

f3(x,y)=y-1f4(x,y)=1-y

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(1-yn)+0.2522(yn-1)

04

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

Where starting points are xo=0,y0=0

x1=0.25y1=0.21875

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

x2=0.5y2=0.389648x3=0.75y3=0.523163x4=1y4=0.627471

Therefore the approximation of the solution by the Taylor method of order 2 at point x=1

ϕ21=0.6274

05

Apply the recursive formulas for order 4

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

06

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

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

x1=0.25y1=0.216309

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

x2=0.5y2=0.385828x3=0.75y3=0.518679x4=1y4=0.622793

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

ϕ41=0.6227

The actual solution at x = 1

y(x)=1-e-xy(1)=0.632121

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

y(1)-ϕ21=0.00465y(1)-ϕ41=0.00933

Hence the solution is

ϕ2(1)=0.6274ϕ4(1)=0.6227

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

The solution to the initial value problem\({\bf{y' = }}\frac{{\bf{2}}}{{{{\bf{x}}^{\bf{4}}}}}{\bf{ - }}{{\bf{y}}^{\bf{2}}}{\bf{,y(1) = - 0}}{\bf{.414}}\), crosses the x-axis at a point in the interval \(\left[ {{\bf{1,2}}} \right]\).By experimenting with the fourth-order Runge–Kutta subroutine, determine this point 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. If initially there are 50 g of a radioactive substance and after 3 days there are only 10 g remaining, what percentage of the original amount remains after 4 days?

Two friends sit down to talk and enjoy a cup of coffee. When the coffee is served, the impatient friend immediately adds a teaspoon of cream to his coffee. The relaxed friend waits 5 min before adding a teaspoon of cream (which has been kept at a constant temperature). The two now begin to drink their coffee. Who has the hotter coffee? Assume that the cream is cooler than the air and has the same heat capacity per unit volume as the coffee, and that Newton’s law of cooling governs the heat transfer.

If the resistance in the RLcircuit of Figure 3.13(a) is zero, show that the current I (t) is directly proportional to the integral of the applied voltage E(t). Similarly, show that if the resistance in the RCcircuit of Figure 3.13(b) is zero, the current is directly proportional to the derivative of the applied voltage.

Use Euler’s method (4) with h= 0.1 to approximate the solution to the initial value problem y'=-20y,y(0)=1, on the interval0x1 (that is, at x= 0, 0.1, . . . , 1.0).Compare your answers with the actual solutiony = e-20x.What went wrong? Next, try the step size h= 0.025 and also h= 0.2. What conclusions can you draw concerning the choice of step size?

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