Tag Info

New answers tagged

0

This is in general simply referred to as compounding. In functional terms, consider the inefficient python code below def total_discount(rates): return (1.0 - discount(1.0, rates))*100.0 def discount(original, rates): if len(rates) == 1: return (1.0-rates[0]/100.0)*original else: return (1.0-rates[0]/100.0)*discount(original, ...



Top 50 recent answers are included