Question: 1. y =t+y, y(0)=0 0t4 Compare the true solution with the approximate solutions from t = 0 to t = 4, with the step size
1. y =t+y, y(0)=0 0t4
Compare the true solution with the approximate solutions from t = 0 to t = 4, with the step size h = 0.5, obtained by each of the following methods. (Note : True Solution is : y(t) = et t 1).
a. Heuns method
b. Midpoint method
Present you results both in tabular and graphical forms. Your tabulated results must contain the exact value, approximate value by each method at
t = 0, t = 0.5, t = 1, t = 1.5, t = 2, t = 2.5, t = 3, t = 3.5 and t = 4, and percentage errors.
2. Apply Euler-trapezoidal predictor-corrector method to the IVP in problem 1 to approx- imate y(2), by choosing two values of h, for which the iteration converges. Compare the results with those obtained by the methods in Problem 1. Present the results in tabular form.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
