summaryrefslogtreecommitdiff
path: root/3669/CH4/EX4.11/11.sce
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH4/EX4.11/11.sce')
-rw-r--r--3669/CH4/EX4.11/11.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3669/CH4/EX4.11/11.sce b/3669/CH4/EX4.11/11.sce
new file mode 100644
index 000000000..9df8441e9
--- /dev/null
+++ b/3669/CH4/EX4.11/11.sce
@@ -0,0 +1,15 @@
+
+//Variable declaration
+e=1.6*10**-19;
+m=9.1*10**-31; //mass(kg)
+h=6.63*10**-34; //planck's constant
+V=344; //potemtial(V)
+n=1;
+theta=60; //angle(degrees)
+
+//Calculation
+theta=theta*%pi/180; //angle(radian)
+d=n*h/(2*sin(theta)*sqrt(2*m*V*e)); //interplanar spacing(m)
+
+//Result
+printf('interplanar spacing is %0.3f angstrom \n',(d*10**10)) \ No newline at end of file