summaryrefslogtreecommitdiff
path: root/944/CH3/EX3.16
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.16
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.16')
-rwxr-xr-x944/CH3/EX3.16/example3_16_TACC.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/944/CH3/EX3.16/example3_16_TACC.sce b/944/CH3/EX3.16/example3_16_TACC.sce
new file mode 100755
index 000000000..9e61c9877
--- /dev/null
+++ b/944/CH3/EX3.16/example3_16_TACC.sce
@@ -0,0 +1,20 @@
+//example 3.16
+
+
+clear;
+clc;
+
+//Given:
+Hf1=-46.11;//standard heat of formation of NH3 at 298K //reaction:0.5N2(g)+1.5H2(g)->NH3(g) [KJ/mol]
+Cp1=29.125;//molar heat capacity at constant pressure for N2(g)[J/K/mol]
+Cp2=28.824;//molar heat capacity at constant pressure for H2(g)[J/K/mol]
+Cp3=35.06;//molar heat capacity at constant pressure for NH3(g)[J/K/mol]
+T1=298;//initial temperature[K]
+T2=400;//final temperature[K]
+
+
+//to find the standard heat of formation of NH3 at 400K for same reaction
+Cp=Cp3-0.5*Cp1-1.5*Cp2;//[J/K/mol]
+T=T2-T1;//[K]
+Hf2=Hf1+Cp*0.001*T;//standard heat of formation for NH3 at 400K[KJ/mol]
+printf("\n Hf2(standard heat of formation for NH3 at 400K = %f KJ/mol. \n",Hf2); \ No newline at end of file