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

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'=xy+y,y(0)=1;y(0.5)

Short Answer

Expert verified

The four decimal approximation for h=0.1,y51.7557; and for h=0.05,y101.7560.

Step by step solution

01

Improved Euler's method

As per the Improved Euler's method, the solution of a linear differential equation of the form y'=f(x,y) is given as follows:

yn+1*=yn+hf(xn,yn)---(1)yn+1=yn+h2(fxn,yn+fxn+1,yn+1*)----(2)

02

Solution for the linear differential equation

The linear differential equation is given as follows:

y'=xy+y

The initial value is given as y0=1.

This implies thatx0=0and y0=1.

The given differential equation is of the form y'=f(x).

Then, f(x,y)=xy+y.

Obtain the solution of the given differential equation by Euler's method for h = 0.1.

Substitute 0 for n into equation (1) to obtain the equation ofy1*as:

y1*=y0+hfx0,y0

Substitute 0 for x0,1for y0and 0.1 for h into y1*=y0+hfx0,y0as:

y1*=1+(0.1)f(0,1)y1*=1+(0.1)·(0(1)+1)y1*=1+0.1y1*=1.1

Substitute 0 for n into equation (2) as follows:

y1=y0+h2fx0,y0+fx1,y1*

Substitute 0 forx0,1 fory0,0.1 forx1,1.1 fory1* and 0.1 for h intoy1=y0+h2fx0,y0+fx1,y1* as:

y1=1+0.12(f(0,1)+f(0.1,1.1))y1=1+(0.05)(0(1)+1+0.1(1.1)+1.1)y1=1+0.10794y1=1.1079

Therefore, the value ofy1 ory(0.1) is 1.1079.

03

Values obtained from improved Euler method for h = 0.1

Similarly, the value of y(0.2),y(0.3),y(0.4)andy(0.5)are obtained as shown in Table 1:

xn yn
0.00 1.0000
0.10 1.1079
0.20 1.2337
0.30 1.3806
0.40 1.5529
0.50 1.7557

Now for step size h = 0.05, calculate the value of y(0.5) as shown below:

Substitute 0 for n into equation (1) to obtain the equation ofy1*as:

y1*=y0+hfx0,y0

Substitute 0 forx0,1fory0and 0.05 for h intoy1*=y0+hfx0,y0as follows:

y1*=1+(0.05)f(0,1)y1*=1+(0.05)·(0(1)+1)y1*=1+0.05y1*=1.05

Substitute 0 for n into equation (2) as:

y1=y0+h2fx0,y0+fx1,y1*

Substitute 0 for x0,1for y0,0.05for x1,1.05for y1*and 0.05 for h into y1=y0+h2fx0,y0+fx1,y1*as follows:

y1=1+0.052(f(0,1)+f(0.05,1.05))y1=1+(0.025)(0(1)+1+0.05(1.05)+1.05)y1=1+0.051929y11.0519

Therefore, the value of y1 ory0.05 is 1.0519.

04

Values obtained from improved Euler method for h = 0.05

Similarly, the value of y(0.1),y(0.15),y(0.20),y(0.25),y(0.30),y(0.35),y(0.40), y(0.45)and y0.5are obtained as shown in Table 2 as:

xn yn
0.00 1.0000
0.05 1.0519
0.10 1.1079
0.15 1.1648
0.20 1.2337
0.25 1.3043
0.30 1.3807
0.35 1.4634
0.40 1.5530
0.45 1.6503
0.50 1.7560

Thus, the four decimal approximation of the valuey0.5forh=0.1 andh=0.05 is obtained as 1.7557 and 1.7560, respectively.

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 1-10use the finite difference method and the indicated value of nto approximate the solution of the given boundary-value problem.

y"10y'+25y=1,      y(0)=1,      y(1)=0;     n=5

In Problems 1-10use the finite difference method and the indicated value ofnto approximate the solution of the given boundary-value problem.

y"+9y=0,      y(0)=4,      y(2)=1;     n=4

Question: Use Euler's method with h = 0.1 to approximate x(0.2) and y(0.2), where x(t), y(t) is the solution x' = x + y of the initial value problem y' = x - y and x(0) = 1, y(0) = 2.

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)

Consider the boundary-value problem y"+xy=0,y(0)=1,y(1)=-1.

(a) Find the difference equation corresponding to the differential equation. Show that fori=0,1,2,...,n-1 , the difference equation yields equations in n+1unknowsy-1,y0,y1,y2,...,yn-1 . Herey-1 and y0are unknowns, since y-1represents an approximationy to at the exterior pointx=-h and y0is not specified atx=0 .

(b) Use the central difference approximation (5) to show thaty1-y-1=2h . Use this equation to eliminatey-1 from the system in part (a).

(c) Use n=5and the system of equations found in parts (a) and (b) to approximate the solution of the original boundary-value problem.

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