That would be a good example ... to build from ...

I do not have time at this exact moment to figure out the calculations, but if you can follow the bouncing ball and give it a try and see how far you get, that might be a start ...

Otherwise, you'd have to think fond thoughts and twiddle your thumbs for awhile until I can get to it later ...