When you change length of the pendulum example: (50, 100) . It is starting to turn 360 degrees and finally it gives an error.