diff options
Diffstat (limited to '944/CH3/EX3.4')
-rwxr-xr-x | 944/CH3/EX3.4/example3_4_TACC.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/944/CH3/EX3.4/example3_4_TACC.sce b/944/CH3/EX3.4/example3_4_TACC.sce new file mode 100755 index 000000000..88261fcc1 --- /dev/null +++ b/944/CH3/EX3.4/example3_4_TACC.sce @@ -0,0 +1,18 @@ +//example 3.4
+
+clear;
+clc;
+
+//given:
+disp("C7H16(l) + 11O2(g) -> 7CO2(g) + 8H2O(l)");
+n=-4;//change in no. of moles when reaction proceeds from reactants to products
+T=298;//temperature of the process [K]
+R=8.314;//universal gas constant [J/K/mol]
+Qv=-4800;//heat energy at constant volume [KJ]
+
+
+//to find change in enthalpy of the process:
+U=Qv;//change in internal energy of system [KJ]
+H=U+n*R*0.001*T;//change in enthalpy of the system[KJ]
+printf("the change in enthalpy of system is %f KJ",H);
+
|