blob: 2334824a09e7b86470379e3e6b71f699d52d3919 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)
|