diff options
Diffstat (limited to '3718/CH13/EX13.1/Ex13_1.sce')
-rw-r--r-- | 3718/CH13/EX13.1/Ex13_1.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3718/CH13/EX13.1/Ex13_1.sce b/3718/CH13/EX13.1/Ex13_1.sce new file mode 100644 index 000000000..a08fa9466 --- /dev/null +++ b/3718/CH13/EX13.1/Ex13_1.sce @@ -0,0 +1,16 @@ +//Chapter 13: Fuel and Combustions
+//Problem: 1
+clc;
+
+//Declaration of Variables
+C = 84 // %
+S = 1.5 // %
+N = 0.6 // %
+H = 5.5 // %
+O = 8.4 // %
+
+// Solution
+GCV = (8080 * C + 34500 * (H - O / 8) + 2240 * S) / 100
+LCV = (GCV - 9 * H / 100 * 587)
+mprintf("Gross Calorific Value :%d kcal / kg\n",GCV)
+mprintf(" Net Calorific Value : %.2f kcal / kg",LCV)
|