GPOPS-for-simple-pendulum To use this code, you need to have GPOPS on your computer. You can download the software from: http://www.gpops2.com/