summaryrefslogtreecommitdiff
path: root/944/CH3/EX3.20/example3_20_TACC.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /944/CH3/EX3.20/example3_20_TACC.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 '944/CH3/EX3.20/example3_20_TACC.sce')
-rwxr-xr-x944/CH3/EX3.20/example3_20_TACC.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/944/CH3/EX3.20/example3_20_TACC.sce b/944/CH3/EX3.20/example3_20_TACC.sce
new file mode 100755
index 000000000..df0078807
--- /dev/null
+++ b/944/CH3/EX3.20/example3_20_TACC.sce
@@ -0,0 +1,17 @@
+//example 3.20
+
+clear;
+clc;
+
+//Given:
+//MgBr2(s)-->Mg(s)+Br2(l)-->Mg(g)+Br2(l)-->Mg(g)+Br2(g)-->Mg(g)+2Br(g)-->Mg+2(g) + 2e(g) + 2Br(g)-->Mg+2(g) + 2Br-(g)
+H1=-524;//enthalpy of formation of MgBr2(s) from its element [KJ/mol]
+H2=148;//enthalpy of sublimation of Mg(s) [KJ/mol]
+H3=31;//enthalpy of vaporization of Br2(l) [KJ/mol]
+H4=193;//enthalpy of dissociation Br2 to 2Br(g) [KJ/mol]
+H5=2187;//enthalpy of ionization of Mg(g) to Mg+2(g) [KJ/mol]
+H6=-650;//enthalpy of formation of Br-(g) [KJ/mol]
+
+//to find the lattice enthalpy of magnesium bromide
+H=-H1+H2+H3+H4+H5+H6;//lattice enthalpy [KJ/mol]
+printf("\n H(lattice enthalpy of magnesium bromide)=%f KJ/mol.\n",H);