when a ball falls from a height h on a surface of COR e.
The vel becomes ev where v was the velocity of striking.
So height reached = e2h
So total height will be h + 2[e2h + e4h + ... ]
use sum of infinite GP... total dist = h + 2e2h/(1-e2)
= h(1+e2)/(1-e2)