(2)
\Step 1 :
\The capcitor .
Initial voltage .
Current at capacitor is where
. \ \
Voltage at capacitor :
.
Voltage at capacitor initially zero.
\Substitute ,
and
in voltage at capacitor
.
Step 2 :
\Current at capacitor is where
.
Initial voltage .
Current at capacitor is where
.
Substitute ,
and
in voltage at capacitor
.