08-Jan-2022 10:50:09
unstable_ode_test():
MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2
Solve the unstable ODE.
Parameters:
mu = 0.1
t0 = 0
y0 = (1,0)
tstop = 30
unstable_backward_euler():
MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2
Solve the unstable ODE using backward_euler().
Number of fixed steps = 1200
Graphics saved as "unstable_backward_euler_plot.png"
Graphics saved as "unstable_backward_euler_comparison.png"
unstable_midpoint():
Use midpoint() to solve the unstable ODE.
Number of time steps = 1200
Timestep size = 0.025 seconds
Graphics saved as "unstable_midpoint_plot.png"
Graphics saved as "unstable_midpoint_comparison.png"
unstable_midpoint():
Normal end of execution.
unstable_ode_test():
Normal end of execution.
08-Jan-2022 10:50:18