Sum of infinite geometric sequence. Sum function in r.

Sum of years digits depreciation. Sum of geometric series formula.