Let the velocity of the ball falling from height h1 be u (when it approaches the ground).
Velocity on the ground,
Let the velocity of ball when it separates from the ground be v. (Assuming it goes up to height h2)
Let the coefficient of restitution be e.
We know, v = eu
Hence, the coefficient of restitution is .