summaryrefslogtreecommitdiff
path: root/632/CH12/EX12.1/example12_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /632/CH12/EX12.1/example12_1.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 '632/CH12/EX12.1/example12_1.sce')
-rwxr-xr-x632/CH12/EX12.1/example12_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/632/CH12/EX12.1/example12_1.sce b/632/CH12/EX12.1/example12_1.sce
new file mode 100755
index 000000000..c6af8f7c6
--- /dev/null
+++ b/632/CH12/EX12.1/example12_1.sce
@@ -0,0 +1,15 @@
+//clc()
+N = 100;//mol gas mixture burned
+//CO(g) + 1/2 O2(g) = CO2 - Hr1 = - 282.91kJ/mol
+//H2(g) + 1/2 O2(g) = H2O - Hr2 = - 241.83kJ/mol
+Hr1 = - 282.91;//kJ/mol
+Hr2 = - 241.83;//kJ/mol
+Nco1 = 20;
+Nh21 = 30;
+Nn21 = 50;
+Htotal = Nco1*Hr1 + Nh21*Hr2;
+disp("kJ",-Htotal,"the amount of heat liberated on the complete combustion of 100mol of the gas mixture = ")
+Ncoreac = Nco1 * 0.9;
+Nh2reac = Nh21 * 0.8;
+Htotal1 = Ncoreac*Hr1 + Nh2reac*Hr2;
+disp("kJ",-Htotal1,"the amount of heat liberated if only 90% of CO and 80% of H2 react of 100mol of the gas mixture = ") \ No newline at end of file