summaryrefslogtreecommitdiff
path: root/3768/CH4/EX4.6/Ex4_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH4/EX4.6/Ex4_6.sce')
-rw-r--r--3768/CH4/EX4.6/Ex4_6.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3768/CH4/EX4.6/Ex4_6.sce b/3768/CH4/EX4.6/Ex4_6.sce
new file mode 100644
index 000000000..b30ba295f
--- /dev/null
+++ b/3768/CH4/EX4.6/Ex4_6.sce
@@ -0,0 +1,19 @@
+//Example number 4.6, Page number 68
+
+clc;clear;
+close;
+
+//Variable declaration
+e=1.6*10**-19; //charge(c)
+m=9.1*10**-31; //mass(kg)
+h=6.625*10**-34; //plank constant
+n=1; //order
+theta=9+(12/60)+(25/(60*60)); //angle(degree)
+V=235.2; //kinetic energy of electron(eV)
+//Calculation
+theta=theta*%pi/180; //angle(radian)
+lamda=h*10**10/sqrt(2*m*e*V);
+d=n*lamda/(2*sin(theta)); //interplanar spacing(angstrom)
+//Result
+printf("interplanar spacing is %.3f Angstrom",d)
+//answer in the book is wrong