summaryrefslogtreecommitdiff
path: root/2594/CH1/EX1.9/Ex1_9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2594/CH1/EX1.9/Ex1_9.sce
downloadScilab-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.9/Ex1_9.sce')
-rwxr-xr-x2594/CH1/EX1.9/Ex1_9.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2594/CH1/EX1.9/Ex1_9.sce b/2594/CH1/EX1.9/Ex1_9.sce
new file mode 100755
index 000000000..89aa51c65
--- /dev/null
+++ b/2594/CH1/EX1.9/Ex1_9.sce
@@ -0,0 +1,11 @@
+clc
+a=5*10^-8
+disp("a = "+string(a)+" cm") //initializing value of lattice constant.
+r=(sqrt(3)*(a/4))
+disp("Radius of the atom,r=(sqrt(3)*(a/4)) = "+string(r)) //initializing value of radius of atom for BCC.
+v=((4*%pi*(r^3))/3)*2
+disp("Volume of the two atoms,v=((4*%pi*(r^3))/3)*2 = "+string(v)) //calcuation.
+V=a^3
+disp("Total Volume of the cube,V=a^3 = "+string(V)) //calcuation.
+Fp=(v*100/V)
+disp("Fp(B.C.C)=(v*100/V) = "+string(Fp)+"%")//calculation