summaryrefslogtreecommitdiff
path: root/181/CH2/EX2.14
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /181/CH2/EX2.14
downloadScilab-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.14')
-rwxr-xr-x181/CH2/EX2.14/example2_14.sce19
-rwxr-xr-x181/CH2/EX2.14/example2_14.txt1
2 files changed, 20 insertions, 0 deletions
diff --git a/181/CH2/EX2.14/example2_14.sce b/181/CH2/EX2.14/example2_14.sce
new file mode 100755
index 000000000..589aff5e8
--- /dev/null
+++ b/181/CH2/EX2.14/example2_14.sce
@@ -0,0 +1,19 @@
+// Calculate the current flowing
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 2-14 in page 96
+
+clear; clc; close;
+
+// Given data
+I_0=9*10^-7; // Current flowing in A
+V=0.1; // Applied forward bias in V
+
+// Calculation
+I=I_0*(exp(40*V)-1);
+printf("Current flowing through diode = %0.2e A",I);
+
+// Result
+// Current flowing through the diode under forward bias = 48.15 mu-A \ No newline at end of file
diff --git a/181/CH2/EX2.14/example2_14.txt b/181/CH2/EX2.14/example2_14.txt
new file mode 100755
index 000000000..4ad2af54e
--- /dev/null
+++ b/181/CH2/EX2.14/example2_14.txt
@@ -0,0 +1 @@
+Current flowing through the diode under forward bias = 48.15 mu- A \ No newline at end of file