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

Question: In Problems 5-8use the Adams-Bashforth-Moultonmethod to approximate y(1.0), wherey(x)is the solution of the given initial-value problem. First useh=0.2and h=0.1then use.Use theRK4method to computey1,y2andy3.

yI=xy+y,y(0)=1

Short Answer

Expert verified

The value of y(1.0)calculated using Adams-Bashforth-Moulton method withh=0.2 isy5=3.5523

The value of y(1.0)calculated using Adams-Bashforth-Moulton method withh=0.1 isy10=3.5196

Step by step solution

01

Define Adams-Bashforth-Moulton Method

  • The Adams–Bashforth-Moulton methods allow us to calculate the estimated solution at a given instant from prior instants' solutions explicitly.
  • Each phase of the Adams–Moulton approach produces an algebraic matrix Riccati equation (AMRE), which is then solved using Newton's method.
  • The predictive formula for this method is,
  • y*n+1=y*4=yn+h249yn+1'+19yn'-5yn-1'-yn-2'
02

Find the value of the constants with h=0.2.

We have the initial-value problem,

yI=xy+y,y0=1

and we have to approximate the valuey1.0with h=0.2using the following technique.

First we have to obtain three approximate values using the formula

yn+1=yn+h6k1+2k2+2k3+2k41

Before that we have to find the constants k1,k2,k3,k4at n=0and h=0.2as the following.

Since we have x0=0,y0=1, then we have

localid="1667993256587" k1=fx0,y0=x0y0+y0=0×1+1=1k2=fx0+12h,y0+12hk1=x0+12hy0+12hk1+y0+12hk1=0+12×0.20+12×0.2×1+0+12×0.2×1=0.1×1.1+1.1=1.158809

k3=fx0+12h,y0+12hk2=x0+12hy0+12hk2+y0+12hk2=0+12×0.20+12×0.2×1.158809+0+12×0.2×1.158809=0.1×1.158809+1.158809=1.167941k4=fx0+h,y0+hk3=x0+hy0+hk3+y0+hk3=0+0.20+0.2×1.167941+0+0.2×1.167941=0.1×1.233588+1.233588=1.234029

Hence the values of the constants with h=0.2are

k1=1,k2=1.158809,k3=1.167941,k4=1.234029

03

Find the value of y1with h =0.2

We need to find the value ofy1by using 1.

localid="1667994739282" y1=y0+h6k1+2k2+2k3+k4=1+0.261+2×1.158809+2×1.167941+1.234029=1+0.26×7.647709=1.254924

After this we can obtain the value of for each value of until x=0.6and y3=2.013419using the below table.


h=0.2

xn
k1+2k2+2k3+k4
yn
0.007.6477090.00
0.209.3807831.254924
0.4013.3740671.567617
0.60
2.01349

Hence the value ofy1with h=0.2is1.254924.

04

Find the value of the predictor y4

We have to find the value of y1.0using Adams-Bashforth-Moulton method. Since we have,localid="1667995253239" x0=0,x1=0.2,x2=0.4,x3=0.6and the value of from the table we can find,

y'0=fx0,y0=x0y0+y0=0×1+1=1y'1=fx1,y1=x1y1+y1=0.2×1.254924+1.254924=1.371219

y'2=fx2,y2=x2y3+y2=0.4×1.567617+1.567617=1.879092y'3=fx3,y3=x3y3+y3=0.6×2.013419+2.013419=2.627

After these we can get the predictory4*using,

y*n+1=y*4=yn+h2455yn'-59yn-1'+37yn-2'-9yn-3'=y3+h2455y3'-59y2'+37y1'-9y0'=2.031349+0.22455×2.627-59×1.879092+37×1.37219-9×1=2.031349+0.224×77.12375=2.656117

where n=3.

Hence the value of the predictory4*is 2.656117.

05

Find the value of y(1.0)

After that using the predictor and x4=0.8we can find,

localid="1667999767819" y'4=fx4,y4=x4y4+y4=0.6×2.656117+2.656117=3.754563

Now we can find the approximate value of y0.8as

y*n+1=y*4=yn+h249yn+1'+19yn'-5yn-1'-yn-2'=y3+h249y4'+19y3'-y2'+y1'=2.013419+0.2249×375463+19×2.627-5×1.87092+1.37219=2.013419+0.224×75.680639=2.644091

where n=3.

After that we can obtain the value of which equals 3.5523as shown in the table below.


h=0.2

xn
yn+1*
yn+1
0.802.6561172.644091
0.103.549113.55231

Hence the value of y(1.0)is 3.5523.

06

Find the value of the constants with h=0.1.

We have the initial-value problem,

yI=xy+y,y0=1

and we have to approximate the value y1.0withh=0.1using the following technique.

First we have to obtain three approximate values using the formula

yn+1=yn+h6k1+2k2+2k3+k4

Before that we have to find the constants k1,k2,k3,k4at n=0and h=0as the following.

Since we have x0=0,y0=1, then we have

k1=fx0,y0=x0y0+y0=0×1+1=1k2=fx0+12h,y0+12hk1=x0+12hy0+12hk1+y0+12hk1=0+12×0.10+12×0.1×1+0+12×0.1×1=0.05×1.05+1.05=1.077195

role="math" localid="1667998249723" k3=fx0+12h,y0+12hk2=x0+12hy0+12hk2+y0+12hk2=0+12×0.10+12×0.1×1.007195+0+12×0.1×1.007915=0.1×1.053860+1.053860=1.079720k4=fx0+h,y0+hk3=x0+hy0+hk3+y0+hk3=0+0.10+0.1×1.079720+0+0.1×1.079720=0.1×1.107927+1.107927=1.107977

Hence the values of the constants arek1=1,k2=1.077915,k3=1.079270,k4=1.107977 .

07

Find the value of y1.

We need to find the value of by using y1.

y1=y0+h6k1+2k2+2k3+k4=1+0.161+2×1.077915+2×1.079270+1.107977=1+0.16×6.4209=1.107015

After this we can obtain the value of for each value of with another four constants as shown in the table below


h=0.1

xn
k1+2k2+2k3+k4
yn
0.006.4209070.00
0.107.5420591.107015
0.208.8150141.123716
0.30
1.379633

Hence the value ofy1 is1.107015

08

Find the value of the predictor y4*

We have to find the value of using Adams-Bashforth-Moulton method. Since we have, x0=0,x1=0.1,x2=0.2,x3=0.3and the value of from the table we can find,

y'0=fx0,y0=x0y0+y0=0×1+1=1y'1=fx1,y1=x1y1+y1=0.1×1.107015+1.107015=1.162849

y'2=fx2,y2=x2y2+y2=0.2×1.232716+1.232716=1.356821y'3=fx3,y3=x3y3+y3=0.3×1.379633+1.379633=1.588648

After these we can get the y4*predictor using,

y*n+1=y*4=yn+h2455yn'-59yn-1'+37yn-2'-9yn-3'=y3+h2455y3'-59y2'+37y1'-9y0'=1.379633+0.12455×1.588468-59×1.356821+37×1.162849-9×1=2.031349+0.124×41.338778=1.551878

where n=3.

Hence the value of the predictory4* is 1.551878.

09

Find the value of y(1)

After that using the predictor and x4=0.4we can find,

y'4=fx4,y4=x4y*4+y*4=0.6×1.551878+1.551878=1.866495

Now we can find the approximate value of y(1.0)as

y*n+1=y*4=yn+h249yn+1'+19yn'-5yn-1'-yn-2'=y3+h249y4'+19y3'-y2'+y1'=1.379663+0.1249×1.866495+19×1.588468-5×1.356821+1.1628=1,379663+0.224×41.358092=1.5551958

where n=3.

After that we can obtain the value of which equals as shown in the table below.


h=0.1

xn
y*n+1
yn+1
0.401.5518781.551958
0.501.7621431.755102
0.601.9963851.95581
0.702.2791352.280473
0.802.6207272.620432
0.903.0282313.028226
1.003.5189993.51953

Hence the value y1.0of is3.5196 .

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

Although it might not be obvious from the differential equation, its solution could "behave badly" near a point xat which we wish to approximate y(x). Numerical procedures may give widely differing results near this point. Let y(x)be the solution to the initial-value problem y'=x2+y3,y(1)=1.

  1. Use a numerical solver to graph the solution on the interval [1,1.4]
  2. Using the steps size h = 0.1, compare the results obtained from Euler's method with the improved Euler's method's approximation of y(1.4).

In Problems, 1-10, use the improved Euler's method to obtain a four-decimal approximation of the indicated value. First, use h = 0.1 and then use:

h=0.05y'=2x-3y+1,y(1)=5;y(1.5)

A mathematical model for the area(in cm2) that a colony of bacteria (B. dendroides) occupies is given by

dAdt=A(2.128-0.0432A)

Suppose that the initial area is.

a. Use the RK4 method with \(h=0.5\) to complete the following table

t (days)12345
A (observed)2.7813.5336.3047.5049.40
A (approximated)




b. Use a numerical solver to graph the solution of the initial value problem. Estimate the valuesA(1), A(2), A(3), A(4) and A(5)from the graph.

c. Use separation of variables to solve the initial-value problem and compute the actual values A(1), A(2), A(3), A(4) and A(5).

dAdt=A(2.128-0.0432A)

Question: Use Euler's method to approximate y(0.2), where y(x) is the solution of the initial-value problem y''-(2x+1)y=1,y(0)=3,y'(0)=1. First use one step with h = 0.2 and then repeat the calculations using two steps with h = 0.1.

Question: Construct a table comparing the indicated values of y(x) using Euler's method, the improved Euler's method, and the RK4 method. Compute to four rounded decimal places. First use h = 0.1 and then use h = 0.05.

y'=xy+y2,   y(1)=1y(1.1),y(1.2),y(1.3),y(1.4),y(1.5)

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