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 /1379/CH6/EX6.1.6 | |
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 '1379/CH6/EX6.1.6')
-rwxr-xr-x | 1379/CH6/EX6.1.6/example6_6.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/1379/CH6/EX6.1.6/example6_6.sce b/1379/CH6/EX6.1.6/example6_6.sce new file mode 100755 index 000000000..154994bb6 --- /dev/null +++ b/1379/CH6/EX6.1.6/example6_6.sce @@ -0,0 +1,26 @@ +
+//example 6.6
+clc; funcprot(0);
+//exapple 6.6
+// Initialization of Variable
+rhos=1830;//density of acid
+atp=104.2*1000;//atmospheric pressure
+temp=11+273;//temp in kelvin
+M=28.8/1000;//molar mass of air
+R=8.314;//universal gas constant
+g=9.81;//acceleration of gravity
+pi=3.14;
+d=2.45;//diameter of tank
+l=10.5;//length of tank
+h_s=1.65;//height of surface of acid from below
+effi=0.93//efficiency
+//calculation
+mliq=pi*d^2*l*rhos/4;
+h_atm=atp/rhos/g;//height conversion of atp
+h_r=4.3-1.65;//height difference
+mair=g*h_r*mliq*M/(effi*R*temp*log(h_atm/(h_atm+h_s)));//mass of air
+disp(mair,"mass of air required to lift the sulphuric acid tank");
+disp("The negative sign indicates air is expanding & work done is magnitude of value in kg:");
+m=abs(mair/mliq);
+disp(m, "The mass of air required for per kilo of acid transferred:");
+
|