Solve the following initial-value problem over the interval from t = 2 to t = 3: dy/dt

Question:

Solve the following initial-value problem over the interval from t = 2 to t = 3:

dy/dt = –0.4y + e-2t

Use the non-self-starting Heun method with a step size of 0.5 and initial conditions of y(1.5) = 5.800007 and y(2.0) = 4.762673. Iterate the corrector to εs = 0.1%. Compute the true percent relative errors εt for your results based on the analytical solution.


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: