Formula for Effective Discount Rate of Discount Rate Series what is the formula to calculate an effective discount rate of Discount Series? For EX, If Price of Product A is $X and Discount Series is given like 10%,20%,30%,5%,2%. How can we calculate effective discount of this discount series?

https://answers.yahoo.com/question/index?qid=20110703053015AANbTBg

I found something here, but searching for a generalized formula for N number of Discount Series.
Thank you
$$\displaystyle 1-\prod_i(1-d_i)$$ should give you the answer, with the discounts treated as fractions, so for example $10\%$ being $0.1$