29-Jul-2021 15:37:40
sling_ode_test():
MATLAB/Octave version 9.9.0.1467703 (R2020b)
Solve the sling ODE.
Parameter values:
s = 1
t0 = 0
y0 = 1
y0 = 0
tstop = 30
sling_midpoint():
Test sling_ode() using midpoint.
Number of steps taken was 1000
Graphics saved in "sling_midpoint_plot_1.png"
Graphics saved in "sling_midpoint_phase_1.png"
Graphics saved in "sling_midpoint_conservation_1.png"
sling_ode45():
Test sling_ode() using ode45.
Number of steps taken was 161
Graphics saved in "sling_ode45_plot_1.png"
Graphics saved in "sling_ode45_phase_1.png"
Graphics saved in "sling_ode45_conservation_1.png"
Parameter values:
s = 0.4
t0 = 0
y0 = 1
y0 = 0
tstop = 30
sling_midpoint():
Test sling_ode() using midpoint.
Number of steps taken was 1000
Graphics saved in "sling_midpoint_plot_0.4.png"
Graphics saved in "sling_midpoint_phase_0.4.png"
Graphics saved in "sling_midpoint_conservation_0.4.png"
sling_ode45():
Test sling_ode() using ode45.
Number of steps taken was 181
Graphics saved in "sling_ode45_plot_0.4.png"
Graphics saved in "sling_ode45_phase_0.4.png"
Graphics saved in "sling_ode45_conservation_0.4.png"
sling_ode_test():
Normal end of execution.
29-Jul-2021 15:37:52