diff options
Diffstat (limited to '181/CH1/EX1.2')
-rwxr-xr-x | 181/CH1/EX1.2/example1_2.sce | 23 | ||||
-rwxr-xr-x | 181/CH1/EX1.2/example1_2.txt | 1 |
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 |