diff options
Diffstat (limited to '3875/CH11/EX11.14/11_14.sce')
-rw-r--r-- | 3875/CH11/EX11.14/11_14.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3875/CH11/EX11.14/11_14.sce b/3875/CH11/EX11.14/11_14.sce new file mode 100644 index 000000000..24c0ac001 --- /dev/null +++ b/3875/CH11/EX11.14/11_14.sce @@ -0,0 +1,15 @@ +clc;
+clear;
+h=6.63*10^-34 //Plancks constant in J-s
+m=1.804*10^-27 //mass of neutron in kg
+K_b=1.38*10^-23 //Boltzmann constant in J/K
+tetha=30 //Braggs angle in degree
+n=2 //second order reflection
+T=300 //temperature in K
+
+//calculation
+lambda=h/sqrt(3*m*K_b*T)
+a=sqrt((3*lambda))/2
+
+mprintf("The lattice constant is = %1.2e m.",a)
+//The answer provided in the textbook is wrong.
|