blob: 9329c044f00318cca4aff86b46ea574569da9049 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
clear;
clc;
// Example: 4.1
// Page: 118
printf("Example: 4.1 - Page: 118\n\n");
// Solution
//*****Data*****//
Qp = -327;// [kcal]
T = 27 + 273;// [K]
R = 2*10^(-3);// [kcal/K mol]
//*************//
// The reaction involved is:
// C2H5OH(l) + 3O2(g) = 2CO2(g) + 3H2O(l)
deltan = 2 - 3;
Qv = Qp - deltan*R*T;// [kcal]
printf("Value of Qv is %.2f kcal\n",Qv);
|