summaryrefslogtreecommitdiff
path: root/181/CH1/EX1.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /181/CH1/EX1.2
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/CH1/EX1.2')
-rwxr-xr-x181/CH1/EX1.2/example1_2.sce23
-rwxr-xr-x181/CH1/EX1.2/example1_2.txt1
2 files changed, 24 insertions, 0 deletions
diff --git a/181/CH1/EX1.2/example1_2.sce b/181/CH1/EX1.2/example1_2.sce
new file mode 100755
index 000000000..f52f87f70
--- /dev/null
+++ b/181/CH1/EX1.2/example1_2.sce
@@ -0,0 +1,23 @@
+// Calculate semiconductor band gap
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 1-2 in page 7
+
+clear; clc; close;
+
+// Data given
+lambda=0.5*10^-6; // Wavelength of emitted light in m
+c=3*10^8; // Speed of light in vacuum in m/s
+h=1.05*10^-34;// Constant of calculation
+
+// Calculation
+E_g= (2*%pi*h*c)/lambda;
+A= E_g*10^19/1.6;
+
+printf("The material band gap has to be %0.3f eV",A);
+
+// Result
+//The material band gap is 2.474 eV
+// Semiconductors like C,BN,GaN,SiC meet this criterion \ No newline at end of file
diff --git a/181/CH1/EX1.2/example1_2.txt b/181/CH1/EX1.2/example1_2.txt
new file mode 100755
index 000000000..1605bec8a
--- /dev/null
+++ b/181/CH1/EX1.2/example1_2.txt
@@ -0,0 +1 @@
+The material band gap has to be 2.474 eV \ No newline at end of file