summaryrefslogtreecommitdiff
path: root/1388/CH6/EX6.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1388/CH6/EX6.8
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 '1388/CH6/EX6.8')
-rwxr-xr-x1388/CH6/EX6.8/6_8.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1388/CH6/EX6.8/6_8.sce b/1388/CH6/EX6.8/6_8.sce
new file mode 100755
index 000000000..f2279209d
--- /dev/null
+++ b/1388/CH6/EX6.8/6_8.sce
@@ -0,0 +1,14 @@
+clc
+//initialisation of variables
+T= 25 //C
+H= -36430 //cal
+S= -4.19 //cal deg^-1
+a= 0.1
+f= 0.2
+R= 1.987 //cal/mol K
+//CALCULATIONS
+G= H-(273.2+T)*S
+Q= a*f/a^2
+G1= G+R*(273.2+T)*log(Q)
+//RESULTS
+printf (' increase in free energy = %.1f cal',G1-0.2)