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

//Declaration of Variables
V = 0.1       // metre cube
W = 25        // kg
t1 = 20       // C
t2 = 33       // C
m = 0.025     // kg

// Solution
HCV = W * (t2 - t1) / V
LCV = HCV - (m / V) * 580
mprintf("HCV is %d kcal / metre cube\n", HCV)
mprintf(" LCV is %d kcal / metre cube", LCV)