How to set the capacitor constant