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 /1397/CH6/EX6.6 | |
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 '1397/CH6/EX6.6')
-rwxr-xr-x | 1397/CH6/EX6.6/6_6.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1397/CH6/EX6.6/6_6.sce b/1397/CH6/EX6.6/6_6.sce new file mode 100755 index 000000000..6097006ad --- /dev/null +++ b/1397/CH6/EX6.6/6_6.sce @@ -0,0 +1,19 @@ +//clc();
+clear;
+//To calculate the percentage of volume change
+T=910; //temperature in C
+r1=1.258; //initial atomic radius in Armstrong
+r2=1.292; //latter atomic radius in Armstrong
+a1=(4*r1)/sqrt(3); //lattice constant in BCC structure
+Vu1=a1^3; //volume of unit cell of BCC
+n1=2;
+V1=Vu1/n1;
+disp(V1);
+a2=2*sqrt(2)*r2; //lattice constant in FCC structure
+Vu2=a2^3; //volume of unit cell of FCC
+n2=4;
+V2=Vu2/n2;
+disp(V2);
+PV=(V1-V2)*100/V2;
+printf("percentage volume change is")
+disp(PV);
|