summaryrefslogtreecommitdiff
path: root/3875/CH10/EX10.24/10_24.sce
diff options
context:
space:
mode:
Diffstat (limited to '3875/CH10/EX10.24/10_24.sce')
-rw-r--r--3875/CH10/EX10.24/10_24.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3875/CH10/EX10.24/10_24.sce b/3875/CH10/EX10.24/10_24.sce
new file mode 100644
index 000000000..2334824a0
--- /dev/null
+++ b/3875/CH10/EX10.24/10_24.sce
@@ -0,0 +1,16 @@
+clc;
+clear;
+KE=0.04*1.6*10^-19 //energy in J
+m=1.675*10^-27 //mass of neutron in kg
+h=6.63*10^-34 //Plancks constant in J-s
+c=3*10^8 //velocity of light in m/s
+
+//calculation
+lambda=(h/sqrt(2*m*KE))/10^-9
+mprintf("The de-Broglie wavelength is = %1.3f nm\n",lambda)
+v_g=h/(lambda*10^-9*m)
+mprintf("The group velocity is = %1.2e m/s\n",v_g)
+v_p=(c^2)/v_g
+mprintf("The phase velocity is = %1.2e m/s\n",v_p)
+E=(h*c)/(lambda*10^-9)
+mprintf("The energy of the nuetron is = %1.2e J or 8.69 keV",E)