summaryrefslogtreecommitdiff
path: root/2144/CH8/EX8.2/ex8_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2144/CH8/EX8.2/ex8_2.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2144/CH8/EX8.2/ex8_2.sce')
-rwxr-xr-x2144/CH8/EX8.2/ex8_2.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2144/CH8/EX8.2/ex8_2.sce b/2144/CH8/EX8.2/ex8_2.sce
new file mode 100755
index 000000000..82a3829ad
--- /dev/null
+++ b/2144/CH8/EX8.2/ex8_2.sce
@@ -0,0 +1,20 @@
+// Exa 8.2
+clc;
+clear;
+close;
+// Given data
+CH4 = 77;// in %
+C2H6 = 22.5;//in %
+H1 = 40.08;// heat liberated by CH4 in MJ/nm^3
+H2 = 69.52;// heat liberated by C2H6 in MJ/nm^3
+HCV = (CH4*H1+C2H6*H2)/100;// Higher calorific value in kJ/kg
+disp(HCV,"The higher calorific value in MJ/nm^3")
+V1= CH4*2/100;// volume of water due to combustion of CH4 in m^3
+V2= C2H6*3/100;// volume of water due to combustion of C2H6 in m^3
+V= V1+V2;// total volume in m^3
+ms= 18/22.41;// in kg
+LCV= HCV-ms*V*2.242;// in MJ/nm^3
+disp(LCV,"The lower calorific value in MJ/nm^3")
+disp("The word nm^3 means that cubic metre at normal temperature and pressure")
+
+// Note: The calculated value in the book is not accurate