Question: Repeat Problem 16 using the initial-value problem y' = -2y + x, y(0) = 1. The analytic solution is Problem 16 Consider the initial-value problem

Repeat Problem 16 using the initial-value problem y' = -2y + x, y(0) = 1. The analytic solution is

1z a + - x = (x)a %3D


Problem 16

Consider the initial-value problem y' = 2y, y(0) = 1. The analytic solution is y(x) = e2x.

(a) Approximate y(0.1) using one step and the RK4 method.

(b) Find a bound for the local truncation error in y1.

(c) Compare the error in y1 with your error bound.

(d) Approximate y(0.1) using two steps and the RK4 method.

(e) Verify that the global truncation error for the RK4 method is O(h4) by comparing the errors in parts (a) and (d).

1z a + - x = (x)a %3D

Step by Step Solution

3.44 Rating (173 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (2 attachments)

PDF file Icon

1527_605d88e1a18d5_848851.pdf

180 KBs PDF File

Word file Icon

1527_605d88e1a18d5_848851.docx

120 KBs Word File

Students Have Also Explored These Related A First Course in Differential Equations Questions!