diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /181/CH2/EX2.18 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '181/CH2/EX2.18')
-rwxr-xr-x | 181/CH2/EX2.18/example2_18.sce | 28 | ||||
-rwxr-xr-x | 181/CH2/EX2.18/example2_18.txt | 7 |
2 files changed, 35 insertions, 0 deletions
diff --git a/181/CH2/EX2.18/example2_18.sce b/181/CH2/EX2.18/example2_18.sce new file mode 100755 index 000000000..90286d15f --- /dev/null +++ b/181/CH2/EX2.18/example2_18.sce @@ -0,0 +1,28 @@ +// Calculate forward currents for voltages
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 2-18 in page 98
+
+clear; clc; close;
+
+// Given data
+Vt=0.026; // Thermal voltage at room temperature in eV
+V=[0.1 0.2 0.3]; // Given voltages in V
+
+// Calculation
+V1=0.026*-2.3;
+printf("(a)V=%0.2f V\n",V1);
+R=(exp(1.92)-1)/(exp(-1.92)-1);
+printf("(b)Ration of forward bias current to reverse bias current=%0.2f\n",R);
+printf("(c):\n")
+for i=1:3
+ I=15*(exp(V(i)/0.026)-1);
+ printf("I = %0.3e A\n",I);
+end
+
+// Result
+// (a) V = -0.060 V
+// (b) Ratio = -6.83
+// (c) Forward currents = 0.687 mA, 32.86 mA and 1.539 A respectively
\ No newline at end of file diff --git a/181/CH2/EX2.18/example2_18.txt b/181/CH2/EX2.18/example2_18.txt new file mode 100755 index 000000000..2837707f3 --- /dev/null +++ b/181/CH2/EX2.18/example2_18.txt @@ -0,0 +1,7 @@ +(a)V=-0.06 V
+(b)Ration of forward bias current to reverse bias current=-6.82
+(c):
+I = 6.872e+002 A
+I = 3.286e+004 A
+I = 1.539e+006 A
+
\ No newline at end of file |