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 and 2 use Euler's method to obtain a four-decimal approximation of the indicated value. Carry out the recursion of (3) by hand, first using h=0.1and then usingh=0.05.

1.y'=2x-3y+1,y(1)=5;y(1.2)

Short Answer

Expert verified

Forh=0.1,y(1.2)=2.9800,Forh=0.05,y(1.2)=3.1151

Step by step solution

01

To Find the equation of Euler’s method

yn+1=yn+h*fxn,yn

This problem says to use (3) from the book, the general form looks like so.

Forh=0.1

Forh=0.1: We have an initial starting point given, and we have the location we want to end at. We wanty1.2, and we start at1,5.

yn+1yn+0.12xn-3yn+1

Now we will see what our equation looks like usingh=0.1, and the givenfx,y.

y1yo+0.12xo-3yo+1

We start at n=0; we will be using our initial starting point 1,5. So yo=5, andx0=1.

02

Substitute the value

y1y(1)=(5)+0.1[2(1)-3(5)+1]=3.8

Hey! How about that using the formula we have our next y value.

Also adding h to our previous x value will give us our next x value (remember h is the distance of our steps so this makes perfect sense).

Doing so gives us1.1,3.8

y2y(1.1)(1.1,3.8)=(3.8)+0.1[2(1.1)-3(3.8)+1]

Now instead of going on to plugin iny(1.2)remember that each

=2.98

time we plugin an x value we are getting our next y value.

(1.2,2.98)in other terms y(1.2)2.98

Since the next point we would plugin is (1.2,2.98), it should become obvious that we have the y value that corresponds with y(1.2). So we can stop!

If we did plugin y(1.2)in to our approximation formula we would end up with the y value that goes with x=1.3, so no need to do that.

Forh=0.05

Since I already walked throughh=0.1, I am going to pick up the pace a little here. Remember we wanty(1.2), and we start at(1,5).

y1y(1)=(5)+0.05[2(1)-3(5)+1]=4.4n=0,h=0.05,x=1,y=5y2y(1.05)=(4.4)+0.05[2(1.05)-3(4.4)+1]=3.895

n=1,h=0.05,x=1.05,y=4.4Plugin:

03

Final proof

y3y(1.1)=(3.895)+0.05[2(1.1)-3(3.895)+1]=3.47075

Plugin:n=2,h=0.05,x=1.1,y=3.895y4y(1.15)=(3.47075)+0.05[2(1.15)-3(3.47075)+1]=3.1151375Plugin:n=3,h=0.05,x=1.15y=3.47075(1.2,3.1151375)

Remember the last x-value, gives the next y-value, so atx=1.2the y-value would be what we got from x=1.15. Thus we can stop

That is to say: here.

y at x=1.2 is3.1151375

Forh=0.05,y(1.2)3.1151

Forh=0.05,y(1.2) rounded to four decimal places (via problem

Forh=0.1,y(1.2)2.9800

instructions) is2.8179.

For h=0.1we didn't round the result, but it is still an approximation.

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

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