diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2471/CH6/EX6.8 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2471/CH6/EX6.8')
-rwxr-xr-x | 2471/CH6/EX6.8/Ex6_8.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/2471/CH6/EX6.8/Ex6_8.sce b/2471/CH6/EX6.8/Ex6_8.sce new file mode 100755 index 000000000..01467a716 --- /dev/null +++ b/2471/CH6/EX6.8/Ex6_8.sce @@ -0,0 +1,20 @@ +clear ;
+clc;
+// Example 6.8
+printf('Example 6.8\n\n');
+printf('Page No. 156\n\n');
+
+// given
+H = 0.05;// Hydrogen percentage - [%]
+O = 0.08;// Oxygen percentage - [%]
+C = 0.86;// Carbon percentage - [%]
+S = 0.001;// Sulphur percentage - [%]
+
+G_CV = ((33.9*C)+143*(H-(O/8))+(9.1*S))*10^6;
+printf('The gross calorific value is %3.2e J/kg \n',G_CV)
+
+
+N_CV = ((33.9*C)+121*(H-(O/8))+(9.1*S))*10^6;
+printf('The net calorific value is %3.1e J/kg',N_CV)
+
+
|