summaryrefslogtreecommitdiff
path: root/1370/CH7/EX7.9/exp7_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '1370/CH7/EX7.9/exp7_9.sce')
-rwxr-xr-x1370/CH7/EX7.9/exp7_9.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1370/CH7/EX7.9/exp7_9.sce b/1370/CH7/EX7.9/exp7_9.sce
new file mode 100755
index 000000000..6d4b3c596
--- /dev/null
+++ b/1370/CH7/EX7.9/exp7_9.sce
@@ -0,0 +1,13 @@
+//Example 7.9
+clc
+disp("The current equation of a diode is")
+disp("I = I_0 * (e^(V/eta*VT) - 1)")
+disp("At 300 K, VT = 26 mV = 26*10^-3 V")
+disp(" V = 0.71 V for I = 2.5 mA and eta = 2 for silicon")
+i0=(2.5*10^-3)/((%e^(0.71/(2*26*10^-3)))-1)
+format(9)
+disp(i0,"Therefore, I_0(in A) =")
+disp("Now V = 0.8 V")
+i=((2.93*10^-9)*((%e^(0.8/(2*26*10^-3)))-1))*10^3
+format(6)
+disp(i,"Therefore, I(in mA) =")