I feel like adding...the example I did will find the voltage on each capacitor in series if you don't use equalizing resistors. Only after you predict the first surge voltage does the voltage rating of the capacitor become a useful number. Look back at the example and see that the 12 uf capacitor will survive the first surge if it's only rated at 200 volts, but the 8 uf capacitor should be rated more like 300 volts. If you add equalizing resistors, that theory becomes useless, and you should use equalizing resistors because all capacitors leak in the DC range. If their DC leakage is very different. one will eventually be holding 60%, 80%, or 90% of the DC voltage.
See how complicated this can get if you just reach into a bag and grab a handful of capacitors? You can spend more time on math than it would take for a trip to the store!
See how complicated this can get if you just reach into a bag and grab a handful of capacitors? You can spend more time on math than it would take for a trip to the store!