#### Osman Ceylan

##### Junior Member level 1

I tried to solve this problem in time domain. So, I use a source in an EDA tool. I found the current in time. I know the voltage. I use simple numerical derivaton df(x)=[f(x2)-f(x1)]/(x2-x1). In this case, derivation is almost zero at the peak and bottom of the sinus. So, capacitance goes infinite. What am I doing wrong?