Common capacitor calculation formula