capacitor code calculator