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 /2132/CH4/EX4.4 | |
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 '2132/CH4/EX4.4')
-rwxr-xr-x | 2132/CH4/EX4.4/Example4_4.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2132/CH4/EX4.4/Example4_4.sce b/2132/CH4/EX4.4/Example4_4.sce new file mode 100755 index 000000000..53bcd6391 --- /dev/null +++ b/2132/CH4/EX4.4/Example4_4.sce @@ -0,0 +1,15 @@ +//Example 4.4
+clc;
+clear;
+close;
+format('v',7);
+//Given data :
+S=0.9;//sp. gravity of liquid
+Sm=13.6;//sp. gravity of mercury
+S1=Sm/S;//sp. gravity
+w=S*9.81;//kN/m^3
+h2=500/1000;//m
+h1=300/1000;//m
+a_BY_A=1/80;//ratio of area
+pa=w*(h2*[(S1-1)*a_BY_A+S1]-h1);//kPa
+disp(pa,"Pressure in the pipe in kPa: ");
|