summaryrefslogtreecommitdiff
path: root/1808/CH2/EX2.24/Chapter2_Example24.sce
blob: e93581ce129eced64382e8338871a860a0b92e31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc
clear
//INPUT DATA
//CH2+(3/2) (O2+3.773 N2)= CO2+H2O+5.66N2 ;//STOICHIOMETRIC EQUATION
dU=-43.2;//Internal energy in MJ/kg

//CALCULATIONS
dH=dU+(7.66-7.16)*8.3143*10^-3*298/14;//ENTHALPY CHANGE
Hp=-((1*-393.52)+(-241.8))/(221.4);//enthalpy of products per kg of mixture
Hr=Hp-((-43.1*14)/(221.4));//Enthalpy of reactants per kg of mixture

//OUTPUT
printf('enthalpy of products per kg of mixture %3.2f MJ/kg \n enthalpy of reactants per kg of mixture %3.2f MJ/kg',Hp,Hr)