qi=CVi=100μC,qf=CVf=−50μC
Therefore charge will vary from 100μC to −50μC exponentially.
∴q=−50+150e−t/τC Here q is in μC
τC=CR=(10−6)(5×103)=5×10−3
∴q=−50+150e−t/τC
VC=qC=(−50+150e−t/τC)V
or VC=50(3e−200t−1)
i=−dqdt=150×10−6τCe−200t
=150×10−65×10−3e−200t
=30×10−3e−200t
VR=iR=150e−200t