summaryrefslogtreecommitdiff
path: root/2300/CH3/EX3.11.7/Ex3_7.sce
diff options
context:
space:
mode:
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=")