summaryrefslogtreecommitdiff
path: root/2855/CH1/EX1.15/Ex1_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '2855/CH1/EX1.15/Ex1_15.sce')
-rwxr-xr-x2855/CH1/EX1.15/Ex1_15.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2855/CH1/EX1.15/Ex1_15.sce b/2855/CH1/EX1.15/Ex1_15.sce
new file mode 100755
index 000000000..d14fe5215
--- /dev/null
+++ b/2855/CH1/EX1.15/Ex1_15.sce
@@ -0,0 +1,14 @@
+
+
+//page no. 31
+//Example no 1-15
+//E=h*v=h*c/l;
+clc;
+clear;
+E=3; //In KeV
+//1eV=1.6*10^-19
+h=6.63*10^-34; //plank constant in J/s
+c=3*10^8; // speed of light in m/s
+l=h*c/(E*10^3*1.6*10^-19);// wavelength in nm
+printf("wavelength of a electromagnetic radiation is %0.3f nm",l*10^9);//result
+