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'=(x-y)2,y(0)=0.5;y(0.5)

Short Answer

Expert verified

The four decimal approximation for h=0.1,y50.5503; and for h=0.05,y100.5495.

Step by step solution

01

Definition of Euler’s method

  • The Euler method is a first-order approach, meaning the local error (error per step) is proportional to the square of the step size, and the global error (error over time) is proportionate to the step size.
  • The Euler technique is frequently used to build more complicated approaches, such as the predictor-corrector method.
02

Determine the four decimal approximation of the indicated value

Given thaty'=x-y2.

Note that, the formula for improving Euler's method is written as:

yn+1=yn+hfxn,yn+fxn+1,yn+1*2

Where xn+1=xn+hand yn+1*=yn+hfxn,yn.

First, find yn+1*=yn+hfxn,ynfor f(x,y)=(x-y)2,h=0.1,x0=0and y0=0.5as follows:

y1*=y0+hfx0,y0y1*=0.5+0.1(-0.5)2y1*=0.5+0.025y1*=0.525

Findx1usingx1=x0+has:

x1=0+0.1x1=0.1

Find yn+1=yn+hfxn,yn+fxn+1,yn+1*2for f(x,y)=(x-y)2,h=0.1,x0=0, x1=0.1and y0=0.5as:

role="math" localid="1664181157514" y1=y0+hfx0.y0+fx1,y1*2y1=0.5+0.10.25+(0.1-0.525)22y1=0.5+0.10.25+(0.425)22y1=0.5+0.1(0.25+0.180625)2

Simplify the equation as:

y1=0.5+0.1(0.2153125)y1=0.5+0.02153125y1=0.52153125y10.5215

03

Plot the table

The continuation of the given calculation is written in Table 1 as follows:

Table 1 . Improved Euler’s method with h = 0.1
n xn yn yn+1
0 0 0.5 0.5215
1 0.1 0.5215 0.5362
2 0.2 0.5362 0.5449
3 0.3 0.5449 0.5490
4 0.4 0.5490 0.5503
5 0.5 0.5503 0.5505

Using this method for h = 0.05 is shown in table 2 as follows:

Table 2. Improved Euler’s method with h = 0.05
n xn yn yn+1
0 0 0.5 0.5116
1 0.05 0.5116 0.5214
2 0.10 0.5214 0.5294
3 0.15 0.5294 0.5359
4 0.20 0.5359 0.5408
5 0.25 0.5408 0.5444
6 0.30 0.5444 0.5469
7 0.35 0.5469 0.5484
8 0.40 0.5484 0.5492
9 0.45 0.5492 0.5495
10 0.5 0.5495 0.5496

Therefore, for h=0.1,y50.5503; and for h=0.05,y100.5495.

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

Study anywhere. Anytime. Across all devices.

Sign-up for free