summaryrefslogtreecommitdiff
path: root/3875/CH10/EX10.28/10_28.sce
diff options
context:
space:
mode:
Diffstat (limited to '3875/CH10/EX10.28/10_28.sce')
-rw-r--r--3875/CH10/EX10.28/10_28.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3875/CH10/EX10.28/10_28.sce b/3875/CH10/EX10.28/10_28.sce
new file mode 100644
index 000000000..6c6ac371e
--- /dev/null
+++ b/3875/CH10/EX10.28/10_28.sce
@@ -0,0 +1,11 @@
+clc;
+clear;
+tetha=55 //braggs angle in degree
+KE=0.25*1.6*10^-19 //enrgy in J
+m=1.675*10^-27//mass of neutron in kg
+h=6.63*10^-34 //Plancks constant in J-s
+n=1 //first reflection maximum
+
+//calculation
+d=((n*h)/(2*sind(tetha)*sqrt(2*m*KE)))
+mprintf("The interplanar distance is = %1.1e m",d)