A car moving with a high speed at the bottom of a hill runs out of gas and coasts to a stop as it moves up towards the top of the hill. How does friction and air resistance influence the motion?