Problem 14E

In Problems 14–24, you will need a computer and a programmed version of the vectorized classical fourth-order Runge–Kutta algorithm. (At the instructor’s discretion, other algorithms may be used.)

Using the vectorized Runge–Kutta algorithm with h = 0.5, approximate the solution to the initial value problem

at t =8. Compare this approximation to the actual Solution y(t) = t5/3-t

Solution:

Step 1:

In this question, we have to solve the initial value problem.