Complex capacitor capacitance calculation formula