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 improved Euler’s method subroutine with step size h= 0.1 to approximate the solution to the initial value problemy'=x=y2,y(1)=0, at the points x= 1.1, 1.2, 1.3, 1.4, and 1.5. (Thus, input N= 5.) Compare these approximations with those obtained using Euler’s method (see Exercises 1.4,Problem 5, page 28).

Fluid Flow. In the study of the no isothermal flow of a Newtonian fluid between parallel plates, the equation\(\frac{{{{\bf{d}}^{\bf{2}}}{\bf{y}}}}{{{\bf{d}}{{\bf{x}}^{\bf{2}}}}}{\bf{ + }}{{\bf{x}}^{\bf{2}}}{{\bf{e}}^{\bf{y}}}{\bf{ = 0,x > 0}}\) , was encountered. By a series of substitutions, this equation can be transformed into the first-order equation\(\frac{{{\bf{dv}}}}{{{\bf{du}}}}{\bf{ = u}}\left( {\frac{{\bf{u}}}{{\bf{2}}}{\bf{ + 1}}} \right){{\bf{v}}^{\bf{3}}}{\bf{ + }}\left( {{\bf{u + }}\frac{{\bf{5}}}{{\bf{2}}}} \right){{\bf{v}}^{\bf{2}}}\). Use the fourth-order Runge–Kutta algorithm to approximate \({\bf{v(3)}}\) if \({\bf{v(u)}}\) satisfies\({\bf{v(}}2{\bf{)}} = 0.1\). For a tolerance of, \({\bf{\varepsilon = 0}}{\bf{.0001}}\) use a stopping procedure based on the relative error.

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

The pathway for a binary electrical signal between gates in an integrated circuit can be modeled as an RCcircuit, as in Figure 3.13(b); the voltage source models the transmitting gate, and the capacitor models the receiving gate. Typically, the resistance is 100Ωand the capacitance is very small, say, 10-12F(1 picofarad, pF). If the capacitor is initially uncharged and the transmitting gate changes instantaneously from 0 to 5 V, how long will it take for the voltage at the receiving gate to reach (say) ? (This is the time it takes to transmit a logical “1.”)

It was noon on a cold December day in Tampa: 16°C. Detective Taylor arrived at the crime scene to find the sergeant leaning over the body. The sergeant said there were several suspects. If they knew the exact time of death, then they could narrow the list. Detective Taylor took out a thermometer and measured the temperature of the body: 34.5°C. He then left for lunch. Upon returning at 1:00 p.m., he found the body temperature to be 33.7°C. When did the murder occur? [Hint: Normal body temperature is 37°C.]

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