Electrolytic capacitor calculation method