summaryrefslogtreecommitdiff
path: root/2912/CH5/EX5.9/Ex5_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '2912/CH5/EX5.9/Ex5_9.sce')
-rwxr-xr-x2912/CH5/EX5.9/Ex5_9.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2912/CH5/EX5.9/Ex5_9.sce b/2912/CH5/EX5.9/Ex5_9.sce
new file mode 100755
index 000000000..cb018304f
--- /dev/null
+++ b/2912/CH5/EX5.9/Ex5_9.sce
@@ -0,0 +1,22 @@
+//chapter 5
+//example 5.9
+//Calculate de-Broglie wavelength of proton
+//page 106
+clear;
+clc;
+//given
+m_e=9.1E-31; // in Kg (mass of electron)
+m_p=1.6E-27; // in Kg (mass of proton)
+h=6.626E-34; // in J-s (Planck's constant)
+c=3E8; // in m/s (velocity of light)
+//calculate
+E=m_e*c^2; // in J (rest energy of electron)
+// Since lambda=h/(m*v)
+// E=mv^2/2;
+// Therefore lambda=h/sqrt(2*m*E)
+// Also E=m_e*c^2;
+// therefore lambda=h/sqrt(2*m_p*m_e*c^2)
+lambda=h/sqrt(2*m_p*m_e*c^2); // calculation of wavelength
+printf('\nThe de-Broglie wavelength of proton is \t=%1.4E m',lambda);
+lambda=lambda*1E10; //changing unit from m to Angstrom
+printf('\n\t\t\t\t\t=%1.4E Angstrom',lambda);