diff options
Diffstat (limited to '181/CH2/EX2.25/example2_25.sce')
-rwxr-xr-x | 181/CH2/EX2.25/example2_25.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/181/CH2/EX2.25/example2_25.sce b/181/CH2/EX2.25/example2_25.sce new file mode 100755 index 000000000..2ad8a0de9 --- /dev/null +++ b/181/CH2/EX2.25/example2_25.sce @@ -0,0 +1,23 @@ +// Find static resistance
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 2-25 in page 103
+
+clear; clc; close;
+
+// Given data
+I_0=20*10^-6; // Current in micro A
+V_F=0.2; // Forward voltage in V
+
+// Calculation
+I=I_0*(exp(40*V_F)-1);
+r_dc=(0.0343/(80*10^-6))*exp(0.2/0.0343);
+
+printf("Forward current through the diode = %0.3e A\n",I);
+printf("Static resistance = %0.3e ohm",r_dc);
+
+// Result
+// Forward current = 59.599 mA
+// Static resistance = 0.146 Mohm
\ No newline at end of file |