summaryrefslogtreecommitdiff
path: root/2825/CH3/EX3.6/Ex3_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2825/CH3/EX3.6/Ex3_6.sce')
-rwxr-xr-x2825/CH3/EX3.6/Ex3_6.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2825/CH3/EX3.6/Ex3_6.sce b/2825/CH3/EX3.6/Ex3_6.sce
new file mode 100755
index 000000000..d7cde2e04
--- /dev/null
+++ b/2825/CH3/EX3.6/Ex3_6.sce
@@ -0,0 +1,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