make hw5.1Run the program and pipe into gpl to see the results:
hw5.1 N | gpl
make hw5.2Run the program for instructions:
hw5.2 --helpHere are a script to automate the process, and some notes on the integrators used.
make hw5.3Run the program and pipe into gpl or plot_data to see the results:
hw5.3 40 50 | plot_data -p -l 0 1 -4 4To reduce the clutter, try
hw5.3 40 50 | tail -n 20000 | plot_data -p -l 0 1 -4 4 -t 20000The solutions with the smallest |y'(0)| are
y'(0) = 45.02
y'(0) = -37.55 <-- min |y'(0)|