Loading simulator…
The capacitor must rise from 0 V to about 3.16 V in 10 ms after the switch closes. That value is approximately 63.2% of a 5 V step, the defining point of one RC time constant.
Use the charging equation. A discharged capacitor follows:
At , its voltage reaches about 0.632 of the final value.
C1 = 10 µF and required RC = 10 ms, use:R1 = 1 kΩ between SW1 and the VC node. C1 connects from that node to ground. Closing SW1 starts charging through R1.R1 limits current to about . Current decays as VC rises; at 10 ms, .Begin with C1 discharged, close SW1, and inspect VC at 10 ms. It should be approximately 3.16 V. Double R1 to 2 kΩ and see the charging process slow: at 10 ms, VC is only about 1.97 V.