Compute finite and infinite geometric sums.
Finite sum S_n
5.9765625000
Infinite sum S_inf
6.0000000000