Solve the following initial-value problem from t = 4 to 5: dy/dt = 2y/t Use a

Question:

Solve the following initial-value problem from t = 4 to 5:

dy/dt = – 2y/t

Use a step size of 0.5 and initial values of y(2.5) = 0.48, y(3) = 0.333333, y(3.5) = 0.244898, and y(4) = 0.1875. Obtain your solutions using the following techniques:

(a) The non-self-starting Heun method (εs = 1%), and

(b) The fourth-order Adams method (εs = 0.0l%) [Note: The exact answers obtained analytically are y(4.5) = 0.148148 and y(5) = 0.12.] Compute the true percent relative errors εt for your results.


Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Numerical Methods For Engineers

ISBN: 9780071244299

5th Edition

Authors: Steven C. Chapra, Raymond P. Canale

Question Posted: