Hello!
This time I have to graph few graphics using MATLAB. I don't know, whether you use it or not, but problem is that don't understed exactly, how voltage is changing by the time.
I have this loop:
And outputs I expect:
Given:
E(t) = 310*sin(2*pi*50*t)
time is changing from 0 to 0.2 s by step h: 0.0002 s
C = 50*10^(-6) F
R = 1000 Ohms
i0 = 1*10^(-6) A
fi = 26*10^(-3) V
There is no problem to draw V(in), but it is not clear, how is changing V(out) with C and without C.
I have to use iterations to get graphics, then:
V(out +1) = V(out)+h * (i0/C)*(exp((E(t)*V(out))/fi) -1) - (V(out)) / (R*C))
As there is exp(0) -1 = 0, it always gives 0, it means that V(out) at 0 secons not 0, but there is a small value. Is it R * i0 ?
This time I have to graph few graphics using MATLAB. I don't know, whether you use it or not, but problem is that don't understed exactly, how voltage is changing by the time.
I have this loop:
And outputs I expect:
Given:
E(t) = 310*sin(2*pi*50*t)
time is changing from 0 to 0.2 s by step h: 0.0002 s
C = 50*10^(-6) F
R = 1000 Ohms
i0 = 1*10^(-6) A
fi = 26*10^(-3) V
There is no problem to draw V(in), but it is not clear, how is changing V(out) with C and without C.
I have to use iterations to get graphics, then:
V(out +1) = V(out)+h * (i0/C)*(exp((E(t)*V(out))/fi) -1) - (V(out)) / (R*C))
As there is exp(0) -1 = 0, it always gives 0, it means that V(out) at 0 secons not 0, but there is a small value. Is it R * i0 ?