summaryrefslogtreecommitdiff
path: root/181/CH2/EX2.37/example2_37.sce
diff options
context:
space:
mode:
Diffstat (limited to '181/CH2/EX2.37/example2_37.sce')
-rwxr-xr-x181/CH2/EX2.37/example2_37.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/181/CH2/EX2.37/example2_37.sce b/181/CH2/EX2.37/example2_37.sce
new file mode 100755
index 000000000..66d5b5a37
--- /dev/null
+++ b/181/CH2/EX2.37/example2_37.sce
@@ -0,0 +1,22 @@
+// Find the ideality factor
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 2-37 in page 112
+
+clear; clc; close;
+
+// Given data
+I1=0.5*10^-3; // Diode current in mA at 340mV
+I2=15*10^-3; // Diode current in mA at 465mV
+kb_T=5*10^-3; // Constant in mV
+
+// Calculation
+// After simplifying the current equation we get an expression for eta
+eta=5/(2.303*log10(30));
+
+printf("Ideality factor = %0.2f",eta);
+
+// Result
+// Ideality factor = 1.47 \ No newline at end of file