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

Use Euler’s method (4) with h= 0.1 to approximate the solution to the initial value problem y'=-20y,y(0)=1, on the interval0x1 (that is, at x= 0, 0.1, . . . , 1.0).Compare your answers with the actual solutiony = e-20x.What went wrong? Next, try the step size h= 0.025 and also h= 0.2. What conclusions can you draw concerning the choice of step size?

Short Answer

Expert verified

xn

yn(h = 0.2)

yn(h = 0.1)

yn(h = 0.025)

0.1

-1

0.06250

0.2

-3

1

0.00391

0.3

-1

0.00024

0.4

9

1

0.00002

0.5

-1

0.00000

0.6

-27

1

0.00000

0.7

-1

0.00000

0.8

81

1

0.00000

0.9

-1

0.00000

1.0

-243

1

0.00000

The result is for h=0.1 the values are 1 and -1. The values for h=0.2 the results are increasing and decreasing with different signs. For h=0.025 is the best approximation result.

Step by step solution

01

Find the equation of approximation value

Here f(x,y)=-20y then

yn=yn-1+h(-20yn-1)=(1-20h)yn-1...=(1-20h)nyo(y0=1)(1-20h)n

02

Solve for x and y

Apply initial points xn=xo+nh,xo=0for

h=0.1xn=0.1n,yn=(-1)n,n=1,2,.....10h=0.025xn=0.025n,yn=(0.5)n,n=1,2,...40h=0.2xn=0.2n,yn=(-3)n,n=1,2,...5

Where n=1,2,3,....1h

03

Determine the all other values for h=0.1 and substituting the value of n

(x1=0.1,y1=-1)(x2=0.2,y2=1)(x3=0.3,y3=-1)(x4=0.4,y4=1)(x5=0.5,y5=-1)(x6=0.6,y6=1)(x7=0.7,y7=-1)(x8=0.8,y8=1)(x9=0.9,y9=-1)(x10=1,y10=1)

04

Evaluate the all other values for h=0.025 and substituting the value of n

(x1=0.1,y1=0.0625)(x2=0.2,y2=0.003906)(x3=0.3,y3=0.000244)(x4=0.4,y4=0.000015)(x5=0.5,y5=0.000001)(x6=0.6,y6=0)(x7=0.7,y7=0)(x8=0.8,y8=0)(x9=0.9,y9=0)(x10=1,y10=0)

05

Find the all-other values for h=0.2 and substituting the value of n

(x2=0.2,y2=-3)(x4=0.4,y4=9)(x6=0.6,y6=-27)(x8=0.8,y8=81)(x10=1,y10=-243)

Hence the solution is

xn

yn(h = 0.2)

yn(h = 0.1)

yn(h = 0.025)

0.1

-1

0.06250

0.2

-3

1

0.00391

0.3

-1

0.00024

0.4

9

1

0.00002

0.5

-1

0.00000

0.6

-27

1

0.00000

0.7

-1

0.00000

0.8

81

1

0.00000

0.9

-1

0.00000

1.0

-243

1

0.00000

The result is for h=0.1 the values are 1 and -1. The values for h=0.2 the results are increasing and decreasing with different signs. For h=0.025 is the best approximation result.

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

Use the fourth-order Runge–Kutta subroutine with h = 0.25 to approximate the solution to the initial value problemy'=x+1-y,y(0)=1, at x = 1. Compare this approximation with the one obtained in Problem 5 using the Taylor method of order 4.

An object of mass 5 kg is released from rest 1000 m above the ground and allowed to fall under the influence of gravity. Assuming the force due to air resistance is proportional to the velocity of the object with proportionality constant b = 50 N-sec/m, determine the equation of motion of the object. When will the object strike the ground?

The solution to the initial value problem \(\frac{{{\bf{dy}}}}{{{\bf{dx}}}}{\bf{ = }}{{\bf{y}}^{\bf{2}}}{\bf{ - 2}}{{\bf{e}}^{\bf{x}}}{\bf{y + }}{{\bf{e}}^{{\bf{2x}}}}{\bf{ + }}{{\bf{e}}^{\bf{x}}}{\bf{,y(0) = 3}}\)has a vertical asymptote (“blows up”) at some point in the interval\(\left[ {{\bf{0,2}}} \right]\). By experimenting with the fourth-order Runge–Kutta subroutine, determine this point to two decimal places.

Show that when the trapezoid scheme given in formula (8) is used to approximate the solutionf(x)=exofy'=y,y(0)=1 , at x = 1, then we get yn+1=1+h21-h2yn,n = 0, 1, 2, . . . , which leads to the approximation (1+h21-h2)1hfor the constant e.Compute this approximation for h= 1,10-1,10-2,10-3,and10-4and compare your results with those in Tables 3.4 and 3.5.

A warehouse is being built that will have neither heating nor cooling. Depending on the amount of insulation, the time constant for the building may range from 1 to 5 hr. To illustrate the effect insulation will have on the temperature inside the warehouse, assume the outside temperature varies as a sine wave, with a minimum of 16°Cat2:00a.m.and a maximum of32°Cat2:00p.m.Assuming the exponential term (which involves the initial temperature T0) has died off, what is the lowest temperature inside the building if the time constant is 1 hr? If it is 5 hr? What is the highest temperature inside the building if the time constant is 1 hr? If it is 5 hr?

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