British mathematician creates scientific formula to wake up in good mood