summaryrefslogtreecommitdiff
path: root/3718/CH13/EX13.12/Ex13_12.sce
blob: c8b06b053c20ceb9f5f0625e17199c3df75eea32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Chapter 13: Fuel and Combustions
//Problem: 12
clc;

//Declaration of Variables
C = 750      // g
H = 52       // g
O = 121      // g
N = 32       // g
ash = 45     // g

// Solution
min_wt_a = (C * 32 / 12. + H * 16 / 2. - O) * 100 / 23.
HCV = 1 / 1000. * (8080 * C + 34500 * (H - O / 8.) + 2240 * 0)
LCV = HCV - 0.09 * H * 587 / 10.0

mprintf("HCV is %d kcal/kg\n",HCV)
mprintf(" LCV is %d kcal/kg",LCV)