summaryrefslogtreecommitdiff
path: root/1367/CH12/EX12.1
diff options
context:
space:
mode:
Diffstat (limited to '1367/CH12/EX12.1')
-rwxr-xr-x1367/CH12/EX12.1/12_1.sce15
-rwxr-xr-x1367/CH12/EX12.1/ex_12_1_r.txt3
2 files changed, 18 insertions, 0 deletions
diff --git a/1367/CH12/EX12.1/12_1.sce b/1367/CH12/EX12.1/12_1.sce
new file mode 100755
index 000000000..8238950bf
--- /dev/null
+++ b/1367/CH12/EX12.1/12_1.sce
@@ -0,0 +1,15 @@
+//calculate percentage change in volume
+//Ex:12.1
+clc;
+clear;
+close;
+n_bcc=1/2;
+n_fcc=1/4;
+r_fcc=1.26;//in Angstorm
+r_bcc=1.24;//in Angstorm
+a_bcc=4*r_bcc/sqrt(3);//in Angstorm
+a_fcc=2*sqrt(2)*r_fcc;//in Angstorm
+v_fcc=a_fcc^3;
+v_bcc=a_bcc^3;
+v=100*((n_fcc*v_fcc)-(n_bcc*v_bcc))/(n_fcc*v_fcc);
+disp(v,"Percentage change in volume = ");
diff --git a/1367/CH12/EX12.1/ex_12_1_r.txt b/1367/CH12/EX12.1/ex_12_1_r.txt
new file mode 100755
index 000000000..8f461e7e8
--- /dev/null
+++ b/1367/CH12/EX12.1/ex_12_1_r.txt
@@ -0,0 +1,3 @@
+ Percentage change in volume =
+
+ - 3.7639575 \ No newline at end of file