Problem Set 4
Links to content:
Problem Set 4 Output
Euler's Method Matlab
Runge Kutter Method Matlab
Euler's Method Output
Euler's Method Output:
Simple Harmonic Oscillator
(Matlab)
Runge-Kutta Method Output
Simple Harmonic Oscillator
Adaptive Stepper
(matlab)
Reviews error (e)
if e < e min
then step size is doubled & h gets bigger…
else if e > emac
then step size is cut in half & h gets smaller
else
leave h alone