summaryrefslogtreecommitdiff
path: root/2825/CH3/EX3.6/Ex3_6.sce
blob: d7cde2e043918a1e398a8732d10b4c27f0b9b8f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Ex3_6 Pg-183
clc

disp("We know that")
disp("  r_ac = dV/dI - 1/(dI/dV) = 1/((I0/KT)exp(V/KT))")
k=8.62*10^(-5)
T=300 //temperaturein K
kT=k*T
I0=10^(-6) //saturation current
V=150*10^(-3) //voltage forward biased
r_ac = 1/((I0/kT)*exp(V/kT)) //value of exp(0.15/0.02586)=330.45 and not the textbook value of 332.66
printf("\n The AC resistance = %.2f ohm",r_ac) //text book value wrong