summaryrefslogtreecommitdiff
path: root/3768/CH11/EX11.5
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH11/EX11.5')
-rw-r--r--3768/CH11/EX11.5/Ex11_5.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3768/CH11/EX11.5/Ex11_5.sce b/3768/CH11/EX11.5/Ex11_5.sce
new file mode 100644
index 000000000..5d05afb52
--- /dev/null
+++ b/3768/CH11/EX11.5/Ex11_5.sce
@@ -0,0 +1,14 @@
+//Example number 11.5, Page number 247
+
+clc;clear;
+close;
+
+//Variable declaration
+c=2.998*10**8; //velocity of light(m/s)
+h=6.626*10**-34; //plank's constant(Js)
+e=1.602*10**-19; //charge(coulomb)
+Eg=1.43; //energy gap(eV)
+//Calculation
+lamda=h*c*10**6/(Eg*e); //wavelength(micro m)
+//Result
+printf("wavelength is %.2f micro-m",lamda)