4. Consider the initial value problem y = x+y, y(0) = 1. (a) Use Euler's method with h = 0.1 to compute the approximate solutions yn y(In) at n nh for n = 1,2,3, that is, compute the approximate solutions y₁, 92, 93 at In = 0.1,0.2, 0.3, respectively. (b) Check that y(x) = 2e² - x - 1 is the analytical solution to the initial value problem. (c) Compute the error y(n)- yn at each rn; use the pre-calculated values of y(n) in the table; these were computed using the analytical solution y(r) using a calculator; do not re-compute these numbers yourself. Collect your results in the following table. n 0 1 2 3 In 0.0 0.1 0.2 0.3 Yn 1.00000 1.11034 1.24281 1.39972 y(xn) - Yn

Calculus: Early Transcendentals
8th Edition
ISBN:9781285741550
Author:James Stewart
Publisher:James Stewart
Chapter1: Functions And Models
Section: Chapter Questions
Problem 1RCC: (a) What is a function? What are its domain and range? (b) What is the graph of a function? (c) How...
icon
Related questions
Question
Needed asap in 10 minutes please Please do all parts correctly
4. Consider the initial value problem y = x+y, y(0) = 1.
(a) Use Euler's method with h = 0.1 to compute the approximate solutions yn y(In)
at n nh for n = 1, 2, 3, that is, compute the approximate solutions y₁, 92, 93 at
In = 0.1,0.2, 0.3, respectively.
(b) Check that y(x) = 2e² - x - 1 is the analytical solution to the initial value problem.
(c) Compute the error y(n)- yn at each rn; use the pre-calculated values of y(n) in the
table; these were computed using the analytical solution y(r) using a calculator; do not
re-compute these numbers yourself.
Collect your results in the following table.
n
0
1
2
3
In
0.0
0.1
0.2
0.3
Yn
1.00000
1.11034
1.24281
1.39972
y(xn) - Yn
Transcribed Image Text:4. Consider the initial value problem y = x+y, y(0) = 1. (a) Use Euler's method with h = 0.1 to compute the approximate solutions yn y(In) at n nh for n = 1, 2, 3, that is, compute the approximate solutions y₁, 92, 93 at In = 0.1,0.2, 0.3, respectively. (b) Check that y(x) = 2e² - x - 1 is the analytical solution to the initial value problem. (c) Compute the error y(n)- yn at each rn; use the pre-calculated values of y(n) in the table; these were computed using the analytical solution y(r) using a calculator; do not re-compute these numbers yourself. Collect your results in the following table. n 0 1 2 3 In 0.0 0.1 0.2 0.3 Yn 1.00000 1.11034 1.24281 1.39972 y(xn) - Yn
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Recommended textbooks for you
Calculus: Early Transcendentals
Calculus: Early Transcendentals
Calculus
ISBN:
9781285741550
Author:
James Stewart
Publisher:
Cengage Learning
Thomas' Calculus (14th Edition)
Thomas' Calculus (14th Edition)
Calculus
ISBN:
9780134438986
Author:
Joel R. Hass, Christopher E. Heil, Maurice D. Weir
Publisher:
PEARSON
Calculus: Early Transcendentals (3rd Edition)
Calculus: Early Transcendentals (3rd Edition)
Calculus
ISBN:
9780134763644
Author:
William L. Briggs, Lyle Cochran, Bernard Gillett, Eric Schulz
Publisher:
PEARSON
Calculus: Early Transcendentals
Calculus: Early Transcendentals
Calculus
ISBN:
9781319050740
Author:
Jon Rogawski, Colin Adams, Robert Franzosa
Publisher:
W. H. Freeman
Precalculus
Precalculus
Calculus
ISBN:
9780135189405
Author:
Michael Sullivan
Publisher:
PEARSON
Calculus: Early Transcendental Functions
Calculus: Early Transcendental Functions
Calculus
ISBN:
9781337552516
Author:
Ron Larson, Bruce H. Edwards
Publisher:
Cengage Learning