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 3 and 4 use Euler’s method to obtain a four-decimal approximation of the indicated value. First use h = 0.1and then use h = 0.05. Find an explicit solution for each initial-value problem and then construct tables similar to Tables 2.6.3 and 2.6.4.

y'=y,y(0)=1;y(0.1)

Short Answer

Expert verified

The indicated value for h = 0.1 is y1.02.5937, and for h = 0.05 is y1.02.6533.

Step by step solution

01

Define Euler’s method.

The general form of the Euler’s method is given by,yn+1=yn+hf(xn,yn) wherexn=x0+nh and n=0,1,2,....

02

Find the value of y.

Let the given differential equation be,

dydx=ydyy=dx

Integrate both sides of the equation.

dyy=dxIny=x+cy=ex+cea+b=eaeby=execec=c1y=exc1… (1)

Use the initial condition y0=1to get c1.

y0=e0c1e0=11=c1

Substitute the value c1 = 1 in the equation (1).

y = ex

03

Find the indicated value for h = 0.1.

Let the given beh=0.1,x0=0and y0=1.

When n = 0, then

role="math" localid="1664189857311" y0+1=y0+hfx0,y0y1=y0+hex0y1=y0+hy0y1=1+0.1.1y1=1.1

When n = 1, then

x1=x0+10.1=0+0.1=0.1

Hence, by Euler’s method, it is given by

role="math" localid="1664190003633" width="151" height="148">y1+1=y1+hfx1,y1y2=y1+hex1y2=y1+hy1y2=1.1+0.1.1.1y2=1.21

04

Tabulate the actual value, approximation value and indicated values for h = 0.1..

Actual value and approximation for x0=0.1is

y1=e0.1=1.1052y1=1.1

Now,

Absoluteerror=1.1052-1.1=0.0052Precentagerelativeerror=0.00521.1052×100=0.47%

Actual value and approximation for x0 = 0.2 is

y2=e0.2=1.2214y2=1.21

Now,

Absoluteerror=1.2214-1.21=0.0114Precentagerelativeerror=0.01141.2214×100=0.93%

Further continuing using the numerical solver and Euler’s method, the results are given in the table.

05

Find the indicated value for h = 0.05.

Let the given be h = 0.05, x0 = 0 and y0 = 1.

When n = 0, then

y0+1=y0+hfx0,y0y1=y0+hex0y1=y0+hy0y1=1+0.5.1y1=1.05

When n = 1, then

x1=x0+10.05=0+0.05=0.05

Hence, by Euler’s method, it is given by

y1+1=y1+hfx1,y1y2=y1+hex1y2=y1+hy1y2=1.05+0.05.1.05y2=1.1025

06

Tabulate the actual value, approximation value and indicated values for h = 0.05.

Actual value and approximation for x0 = 0.05 is

y1=e0.05=1.051y1=1.05

Now,

Absoluteerror=1.0513-1.05=0.0013Precentagerelativeerror=0.00131.0513×100=0.12%

Actual value and approximation forx0 = 0.1 is

y2=e0.1=1.1052y2=1.1025

Now,

Absoluteerror=1.1052-1.1025=0.0027Precentagerelativeerror=0.00271.1052×100=0.24%

Further continuing using the numerical solver and Euler’s method, the results are given in the table.

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