assignment_2

assignment_2#

Assignment 2

Functions

solve_ivp_abm(fun, t_span, y0, Nt[, ys, ...])

Solve the specified IVP using a 5th order predictor-corrector method.

solve_ivp_euler(fun, t_span, y0, Nt)

Solve the specified IVP using Euler's method.

solve_ivp_rk4(fun, t_span, y0, Nt)

Solve the specified IVP using 4th order Runge-Kutta.

step_rk45(fun, t, y, f, h)

Take one step using the RK45 algorithm.

Classes

OdeResult

Bunch object for storing results of solve_ivp* methods.