summaryrefslogtreecommitdiff
path: root/2939/CH1/EX1.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2939/CH1/EX1.5
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 '2939/CH1/EX1.5')
-rwxr-xr-x2939/CH1/EX1.5/Ex1_5.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/2939/CH1/EX1.5/Ex1_5.sce b/2939/CH1/EX1.5/Ex1_5.sce
new file mode 100755
index 000000000..64828d812
--- /dev/null
+++ b/2939/CH1/EX1.5/Ex1_5.sce
@@ -0,0 +1,26 @@
+//Ex1_5
+
+clc;
+
+//Given:
+
+m=1.66*10^-27;// 1u=1.66*10^-27 kg
+h=6.6262*10^-34;//planck's constant in J.s
+energy1=120;// in Mev for oxygen
+energy2=140;// in MeV for nitrogen
+
+//solution(a):
+
+p=(2*m*16*energy1*(1.6022*10^-13))^0.5;
+wavelength1=h/p*(10)^15;//wavelength in 10^-5 Angstroms
+
+printf("\n The wavelength in 10^-5 Angstroms is = %f ",wavelength1)
+
+//solution (b):
+
+p=(2*m*14*energy2*(1.6022*10^-13))^0.5;
+wavelength2=h/p*(10)^15;//wavelength in 10^-5 Angstroms
+
+printf("\n The wavelength in 10^-5 Angstroms is = %f ",wavelength2)
+
+// 1 Angstrom = 10^-10 m