1) Approximate the value of y for 0sxs1.5 using the Euler method if the step length is h=0.5.

Calculus For The Life Sciences
2nd Edition
ISBN:9780321964038
Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Chapter11: Differential Equations
Section11.CR: Chapter 11 Review
Problem 15CR
icon
Related questions
Question
Let y(x) =-x -:
r e²* be the exact solution to the initial value problem (IVP)
2
y' = 2x+2y, y(0) = 0.5.
1) Approximate the value of y for 0<xs1.5 using the Euler method if the step length is
h=0.5.
2) Complete the following Table 1 that has been marked by (a) and (b) using the fourth-
order Runge-Kutta method.
Table 1
ki
ka
i
k2
ks
0.5000
1.7083
(b)
17.8657
0.5000
2.2083
6.8350
1.0000
3.5625
10.5025
1.25
(a)
12.3363
2.2500
6.9479
19.6713
1
0.5000
2
1.0000
3
1.5000
3) Based on your solutions in 1) and 2), find the percentage of relative error for both
methods.
4) Based on 3), are the errors for both methods acceptable? Explain your answer.
Transcribed Image Text:Let y(x) =-x -: r e²* be the exact solution to the initial value problem (IVP) 2 y' = 2x+2y, y(0) = 0.5. 1) Approximate the value of y for 0<xs1.5 using the Euler method if the step length is h=0.5. 2) Complete the following Table 1 that has been marked by (a) and (b) using the fourth- order Runge-Kutta method. Table 1 ki ka i k2 ks 0.5000 1.7083 (b) 17.8657 0.5000 2.2083 6.8350 1.0000 3.5625 10.5025 1.25 (a) 12.3363 2.2500 6.9479 19.6713 1 0.5000 2 1.0000 3 1.5000 3) Based on your solutions in 1) and 2), find the percentage of relative error for both methods. 4) Based on 3), are the errors for both methods acceptable? Explain your answer.
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Differential Equation
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, calculus and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,