A ball is thrown by an Italian physicist from the top of the leaning tower of Pisa at a speed of 8m/s, and falls to the ground in a parabolic motion, landing some distance from the base of the tower. Just before it reaches the ground, the ball's speed is 34 m/s. Neglect air resistance and determine the height of the leaning tower of Pisa.