The circuit works due to the fact that voltage increases or decreases linearly when a constant current flows into or out of a capacitor. If we manage to charge and discharge the capacitor with the ...