This tutorial shows how to use a simple genetic algorithm to deduce physics formulas.
Feel like exercising your brain? Have a go at one of the problems I have for you.