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 /2144/CH8/EX8.8/ex8_8.sce | |
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 '2144/CH8/EX8.8/ex8_8.sce')
-rwxr-xr-x | 2144/CH8/EX8.8/ex8_8.sce | 20 |
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.
|