summaryrefslogtreecommitdiff
path: root/1586/CH3/EX3.5/EXP3_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1586/CH3/EX3.5/EXP3_5.sce')
-rw-r--r--1586/CH3/EX3.5/EXP3_5.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1586/CH3/EX3.5/EXP3_5.sce b/1586/CH3/EX3.5/EXP3_5.sce
new file mode 100644
index 000000000..710b10104
--- /dev/null
+++ b/1586/CH3/EX3.5/EXP3_5.sce
@@ -0,0 +1,15 @@
+clc;funcprot(0);//EXAMPLE 3.5
+// Initialisation of Variables
+a=5.156;........//The lattice constants for the monoclinic unit cells in Angstroms
+b=5.191;........//The lattice constants for the monoclinic unit cells in Angstroms
+c=5.304;........//The lattice constants for the monoclinic unit cells in Angstroms
+beeta=98.9;.......//The angle fro the monoclinic unit cell
+a2=5.094;........//The lattice constants for the tetragonal unit cells in Angstroms
+c2=5.304;........//The lattice constants for the tetragonal unit cells in Angstroms
+//CALCULATIONS
+v2=(a2^2)*c2;........//volume of a tetragonal unit cell
+v1=a*b*c*sin(beeta*%pi/180);........//volume of a monoclinic unit cell
+Pv=(v1-v2)/(v1)*100;........//The percent change in volume in percent
+disp(v2,"volume of a tetragonal unit cell:")
+disp(v1,"volume of a monoclinic unit cell:")
+disp(Pv,"The percent change in volume in percent:")