Does it ever feel like an elevator is always going in the wrong direction? Mathematics can explain why