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.10/Example4_10.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 '2132/CH4/EX4.10/Example4_10.sce')
-rwxr-xr-x | 2132/CH4/EX4.10/Example4_10.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2132/CH4/EX4.10/Example4_10.sce b/2132/CH4/EX4.10/Example4_10.sce new file mode 100755 index 000000000..f446480df --- /dev/null +++ b/2132/CH4/EX4.10/Example4_10.sce @@ -0,0 +1,15 @@ +//Example 4.10
+clc;
+clear;
+close;
+format('v',9);
+//Given data :
+S1=0.81;//sp. gravity
+S2=1.2;//sp. gravity
+S3=13.6;//sp. gravity
+h3=200/1000;//m
+h2=50/1000;//m
+h1=100/1000;//m
+w=1000;//kg/m^3
+pAB=((h1*(S2-S1)+h2*(S3-S1)-h3*S1))*w;//Kg/m^2
+disp(pAB,"Pressure difference between the two vessel in kg/m^2: ");
|