diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2594/CH1/EX1.4/Ex1_4.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2594/CH1/EX1.4/Ex1_4.sce')
-rwxr-xr-x | 2594/CH1/EX1.4/Ex1_4.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2594/CH1/EX1.4/Ex1_4.sce b/2594/CH1/EX1.4/Ex1_4.sce new file mode 100755 index 000000000..67bb413de --- /dev/null +++ b/2594/CH1/EX1.4/Ex1_4.sce @@ -0,0 +1,11 @@ +clc
+a=1
+disp("a= "+string(a)) //initializing value of lattice constant(a)=1.
+r=a/2
+disp("r=a/2 = "+string(r)) //initializing value of radius of atom for simple cubic.
+v=((4*%pi*(r^3))/3)
+disp("Volume of one atom ,v=((4*%pi*(r^3))/3) = "+string(v)) //calcuation.
+V=a^3
+disp("Total Volume of the cube,V=a^3 = "+string(V)) //calcuation.
+Fp=(v*100/V)
+disp("Fp(S.C)=(v*100/V) = "+string(Fp)+"%")//calculation
|