Application of geometric sequence and series to financial maths