summaryrefslogtreecommitdiff
path: root/3665/CH9/EX9.1/Ex9_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3665/CH9/EX9.1/Ex9_1.sce')
-rw-r--r--3665/CH9/EX9.1/Ex9_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3665/CH9/EX9.1/Ex9_1.sce b/3665/CH9/EX9.1/Ex9_1.sce
new file mode 100644
index 000000000..b0c8005eb
--- /dev/null
+++ b/3665/CH9/EX9.1/Ex9_1.sce
@@ -0,0 +1,14 @@
+clc//
+//
+//
+
+//Variable declaration
+h=6.62*10^-34; //planck's constant(J sec)
+c=3*10^8; //velocity of light(m/sec)
+Eg=1.43*1.6*10^-19; //energy gap(J)
+
+//Calculation
+lamda=h*c*10^6/Eg; //wavelength of radiation(micro m)
+
+//Result
+printf("\n wavelength of radiation is %0.3f micro m",lamda)