Given:
The height from whihc the ball is dropped, h=20 feet.
The height attained by the ball at each bounce can be written as a geometeric series.
Let a=20 feet be the first term of the series.
Since the ball bounces 1/4 as high as the preceding one, the common ratio of the sequence is,

The sum of n terms in a geometric sequence is,

The total height traveled by the 8th bounce is given by the sum of 8 terms in a geometric series starting from a=20 ft.
The sum of the terms in a GP with a=20, r=1/4 and n=8 is,

Now, the total height traveled by the 8th bounce is,

Hence, the total height the ball would have traveled by the 8th bounce is 33.32 ft.