summaryrefslogtreecommitdiff
path: root/3411/CH5/EX5.9/Ex5_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3411/CH5/EX5.9/Ex5_9.sce')
-rw-r--r--3411/CH5/EX5.9/Ex5_9.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3411/CH5/EX5.9/Ex5_9.sce b/3411/CH5/EX5.9/Ex5_9.sce
new file mode 100644
index 000000000..c3f7f1e03
--- /dev/null
+++ b/3411/CH5/EX5.9/Ex5_9.sce
@@ -0,0 +1,15 @@
+//Example 5_9
+clc();
+clear;
+//To determine the interplanar spacing
+h=6.63*10^-34 //Plancks Constant
+m=9.1*10^-31
+e=1.6*10^-19
+v=844
+lamda=h/sqrt(2*m*e*v) //units in mts
+n=1
+theta=58 //units in degrees
+d=(n*lamda)/(2*sin(theta*(%pi/180))) //units in mts
+printf("The interplanar spacing d=")
+disp(d)
+printf("mts")