Repeat Problem 16 using the initial-value problem y’ = -2y

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 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).

 

Leave a Comment

Your email address will not be published. Required fields are marked *

GradeEssays.com
We are GradeEssays.com, the best college essay writing service. We offer educational and research assistance to assist our customers in managing their academic work. At GradeEssays.com, we promise quality and 100% original essays written from scratch.
Contact Us

Enjoy 24/7 customer support for any queries or concerns you have.

Phone: +1 213 3772458

Email: support@gradeessays.com

© 2024 - GradeEssays.com. All rights reserved.

WE HAVE A GIFT FOR YOU!

15% OFF 🎁

Get 15% OFF on your order with us

Scroll to Top