diff options
author | prashantsinalkar | 2018-02-03 10:59:42 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 10:59:42 +0530 |
commit | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch) | |
tree | 612077a22c8142c0ae754ec11882a4e7d5dc25a4 /3875/CH11/EX11.15/11_15.sce | |
parent | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (diff) | |
download | Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.gz Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.bz2 Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.zip |
Modified the code
Diffstat (limited to '3875/CH11/EX11.15/11_15.sce')
-rw-r--r-- | 3875/CH11/EX11.15/11_15.sce | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3875/CH11/EX11.15/11_15.sce b/3875/CH11/EX11.15/11_15.sce index 3f4a3e518..9c20a7091 100644 --- a/3875/CH11/EX11.15/11_15.sce +++ b/3875/CH11/EX11.15/11_15.sce @@ -8,7 +8,7 @@ k=0 //lattice parameter for y axis l=0 //lattice parameter for z axis
//calculations
-sin_square_theta=sind(theta)^2
+sin_square_theta=sind(theta)^2 //angle in degrees
alpha=(lambda/2)*((h^2+k^2+l^2)/sqrt(sin_square_theta))
-mprintf("alpha = %d pm",ceil(alpha))
+mprintf("The lattice constant is alpha = %d pm",ceil(alpha))
|