Q. find voltage across diode
Diode equation is : I=10^-20(e^15v -1)
solution:
we do multiple source transformation an then write the nodal equation as
0.0005+10^-20(e^15v -1)-0.0005=0
solving by newton Rapson method
numerator=(0.0005*x)+10^(-20)*(exp(15*x)-5)-00001
denominator=0.0005+ 15*(10^(-15)*(exp(20*x))
number of iteration = 8
code:
x=0
temp=1;
count=0;
while x~=temp
x=temp;
num=(0.0005*x)+10^(-20)*(exp(15*x)-5)-0.0001;
dem=0.0005+ 15*(10^(-15)*(exp(20*x));
temp=x-(num/dem);count=count+1;
p(count)=x;
end
title('convergene after multiple iteration');
fprint('number of iteration='); disp(count);
fprint('answer=');disp(x)

Can this method be used for transient analysis?
ReplyDeletenot possible instead make use of eulers method
DeleteIs this method the fastest
ReplyDeletecomparitively it iss the fastest
ReplyDeleteIss newton raphson method best
ReplyDeleteyes it is
ReplyDelete