Runge-kutta method


dy/dt = y/t- (y/t)2 , 1 ≤ t ≤ 2, y(1) = 1

Approximate the solution to the above initial value problem using

(a) 2-step Adams-Bashfort Method

(b) 3-step Adams-Bashfort Method

with a time step of h = 0.1. In each case use starting values obtained from 4-stage Runge-Kutta method. For each method, tabulate the approximate solution and the error at each time step using the exact solution to this problem

y(t) = t
1 + ln(t)

Plot the approximate solutions and the exact function for comparison. In another graph, plot the error distributions.

Solution Preview :

Prepared by a verified Expert
MATLAB Programming: Runge-kutta method
Reference No:- TGS0679086

Now Priced at $20 (50% Discount)

Recommended (94%)

Rated (4.6/5)