What slot machines and one-armed bandits in Las Vegas can teach us about how to optimise finance, drug…