OfficialBasicCharging and Discharging of a Capacitor (Time Constant of an RC Circuit)
The path of a battery (6 V) and switch S1, the path of a resistor R (1 kΩ) and capacitor C (100 µF), and the path of switch S2 are connected in parallel between two points on the left and right. Initially, only S2 is closed, and the capacitor is empty. This is a scene from the classroom teaching material "Charging and Discharging of a Capacitor" (/classroom). [Highlights] - Opening S2 and closing S1 charges the capacitor. In the waveform at the bottom, the capacitor voltage approaches 6 V, and the current approaches 0 from the initial 6 mA (V/R). - The time it takes for the voltage to reach 63% of 6 V (approx. 3.8 V) is the time constant τ = RC (1 kΩ × 100 µF = 0.1 s). By placing two cursors using "Zoom" on the waveform, you can read the time difference Δt. - Clicking on the resistor or capacitor to change R or C changes the time constant in proportion to RC. - Opening S1 and closing S2 discharges the capacitor through R, and the voltage approaches 0 with the same time constant. - Clicking ⏮ "From Beginning" resets the capacitor to the empty state.