adding the formulae from eureqa