Next, genetic programming tackled the damped pendulum system, given by
Eqs. 4 and 5:
For this system, the tests produced direct hits quite quickly (not more than eight generations) in almost all cases. Figs. 8 and Fig. 9 show the results of two test runs.
Fig. 8 shows one of the oddest functions produced: a function composed of a lot of arctangents. This the interesting thing about genetic programming: it can produce functions that don't look at all as we would expect them. But, assuming this function did not latently stray across the plane, it proves the stability nonetheless.
Fig. 9 shows a false hit. This function was returned as 100% Lyapunov, although there are regions of positive near the -axis, which weren't tested and slipped through. The fitness approximation needs improvement.