summaryrefslogtreecommitdiff
path: root/2300/CH3/EX3.11.7/Ex3_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2300/CH3/EX3.11.7/Ex3_7.sce
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 '2300/CH3/EX3.11.7/Ex3_7.sce')
-rwxr-xr-x2300/CH3/EX3.11.7/Ex3_7.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2300/CH3/EX3.11.7/Ex3_7.sce b/2300/CH3/EX3.11.7/Ex3_7.sce
new file mode 100755
index 000000000..aa477e259
--- /dev/null
+++ b/2300/CH3/EX3.11.7/Ex3_7.sce
@@ -0,0 +1,13 @@
+
+//scilab 5.4.1
+//windows 8 operating system
+//chapter 3:Properties of Semiconductors
+clc
+clear
+//given
+c=3*(10^8);//c=velocity of light in vacuum in m/s
+h=6.6*(10^-34);//h=Planck's constant in J.s
+Eg=1.98*1.6*(10^-19)//Eg=band gap in J
+//calculating Y=required wavelength
+Y=((c*h)/Eg)/(10^-9)
+disp("nm",Y,"Y=")