summaryrefslogtreecommitdiff
path: root/1379/CH6/EX6.1.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1379/CH6/EX6.1.6
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 '1379/CH6/EX6.1.6')
-rwxr-xr-x1379/CH6/EX6.1.6/example6_6.sce26
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:");
+