Assume w2 = 3/4 that in (4). Use the resulting secondorder Runge-Kutta method to approximate y(0.5), where y(x) is the solution of the initial-value problem in Problem 1. Compare this approximate value with the approximate value obtained in Problem 11 in Exercises 9.1.
Problem 11
Consider the initial-value problem y’ = (x + y – 1)2, y(0) = 2. Use the improved Euler’s method with h = 0.1 and h = 0.05 to obtain approximate values of the solution at x = 0.5. At each step compare the approximate value with the actual value of the analytic solution.