From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3718/CH13/EX13.8/Ex13_8.sce | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 3718/CH13/EX13.8/Ex13_8.sce (limited to '3718/CH13/EX13.8/Ex13_8.sce') diff --git a/3718/CH13/EX13.8/Ex13_8.sce b/3718/CH13/EX13.8/Ex13_8.sce new file mode 100644 index 000000000..47d526e4c --- /dev/null +++ b/3718/CH13/EX13.8/Ex13_8.sce @@ -0,0 +1,30 @@ +//Chapter 13: Fuel and Combustions +//Problem: 8 +clc; + +//Declaration of Variables +C = 86 // % +H = 4 // % +N = 1.3 // % +S = 3 // % +O = 4 // % +Ash = 1.7 // % +wt = 500 // g + +// Solution +wt_C = C / 100.0 +wt_S = S / 100.0 +wt_H = H / 100.0 +wt_O = O / 100.0 + +mprintf("Nitrogen and ash are incombustible, so they do not require oxygen\n") + +wt_O_C = 32 / 12.0 * wt_C +wt_O_S = 32 / 32.0 * wt_S +wt_O_H = 32 / 4.0 * wt_H + +totw = wt_O_H + wt_O_S + wt_O_C +wt_O_n = totw - wt_O +wt_a = (100.0 / 23.0 * wt_O_n) * 500 / 1000.0 + +mprintf(" Minimum Wt. of air required by 500g of fuel %.2f kg",wt_a) -- cgit