summaryrefslogtreecommitdiff
path: root/2144/CH8/EX8.8/ex8_8.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.8/ex8_8.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.8/ex8_8.sce')
-rwxr-xr-x2144/CH8/EX8.8/ex8_8.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2144/CH8/EX8.8/ex8_8.sce b/2144/CH8/EX8.8/ex8_8.sce
new file mode 100755
index 000000000..c066e7e4f
--- /dev/null
+++ b/2144/CH8/EX8.8/ex8_8.sce
@@ -0,0 +1,20 @@
+// Exa 8.8
+clc;
+clear;
+close;
+// Given data
+C = 0.75;// in kg
+H = 0.08;// in kg
+O = 0.03;// in kg
+S = 0;// in kg
+P = 1.1;// in bar
+P = P*10^5;// in N/m^2
+maBYmf = (11.6*C) + (34.8 * (H-(O/8))) + (4.35 *S);// in kg
+disp(maBYmf ,"The mass of air in kg is");
+m = 1.5*(maBYmf );// in kg
+T = 20+273;// in K
+R = 29.27;
+V = (m*R*T)/P;// in m^3
+disp(V,"Volume in m^3 is");
+
+// Note: The calculated value of V in the book is wrong.