So we want to know how much energy is used up (work is done) by the ball bouncing... Luckily, we have calculated what the velocity is just before and after the bounce, so we can easily figure it out:

So the ball loses 1.77 Joules of energy -- This energy is expended doing things like slightly heating up the ground, the ball, and making noise.