A ball is dropped with a velocity v0 and an angle alpha with the vertical onto the top step of a flight of stairs consisting of 10 steps. The ball rebounds and bounces down the steps where the coefficient of restitution between ball and step is e=0.6. The friction between ball and stairs is negligible.

Use values of v0 from 1.5 m/s to 3.0 m/s in 0.5-m/s increments, and values of alpha from 18 degrees to 26 degrees in 2-degree increments. By computational programming, determine
(a) if the ball bounces down the steps without skipping any step
(b) if the ball bounces down the steps without bouncing twice on the same step.

***Need the code and the work to go along with it too.