When a ball is thrown up vertically with velocity u