Just realize that this equation is rather correct. The calculation of coefficient of restitution is accurate. I have the wrong idea in the previous post as the e that is displayed is to 1 d.p. The actual e is very close to the given e.
Sorry for the mistake..