The RC-series circuit with a variable resistance is described by the differential equation . Rearrange it as follows:\
This differential equation (1) is a first order differential equation in the form and can be solve using integrating factor technique. Obtain the integrating factor as follows:
Solve further as
Now, multiply both sides of our differential equation in (1) by the integrating factor, then we have
Simplify further