blob: c36e7935a07def60b8db7791143d297a42a174f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clc
clear
//INPUT DATA
t1=25;//Temperature
p1=1;//atmospheric pressure
//H2+(1/2)O2=H20
//Qcv+Reactants=Products
//CALCULTIONS
Qcv=-285838;//Enthalpy in kJ/kmol from the table
//OUTPUT
printf('(i)Enthalpy of formation of H2O is %3.1f kJ/kmol',Qcv)
|