2. Use the Runge-Kutta method of order 4 for the following IVPon [0,2]
y′ = x + y, y(0) = 2
Compute y(2) with h = 0.05, 0.1, 0.2. The exact solution is y = 3exp(x) – x – 1
Compare with the exact solution and print out thedifference.
Please write in fortran
Expert Answer
An answer will be send to you shortly. . . . .