diff options
Diffstat (limited to '3411/CH5/EX5.9.u1/Ex5_9_u1.sce')
-rw-r--r-- | 3411/CH5/EX5.9.u1/Ex5_9_u1.sce | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/3411/CH5/EX5.9.u1/Ex5_9_u1.sce b/3411/CH5/EX5.9.u1/Ex5_9_u1.sce index 7c8c82e26..b200c2b79 100644 --- a/3411/CH5/EX5.9.u1/Ex5_9_u1.sce +++ b/3411/CH5/EX5.9.u1/Ex5_9_u1.sce @@ -2,14 +2,14 @@ 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
+h=6.63*10^-34 //units in m^2 kg s^-1
+m=9.1*10^-31 //units in Kgs
+e=1.6*10^-19 //units in coulombs
+v=844 //units in Volts
+lamda=h/sqrt(2*m*e*v) //units in meters
n=1
theta=58 //units in degrees
-d=(n*lamda)/(2*sin(theta*(%pi/180))) //units in mts
+d=(n*lamda)/(2*sin(theta*(%pi/180))) //units in meters
printf("The interplanar spacing d=")
disp(d)
-printf("mts")
+printf("meters")
|