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 /51/CH6/EX6.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 '51/CH6/EX6.4')
-rwxr-xr-x | 51/CH6/EX6.4/6_4.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/51/CH6/EX6.4/6_4.sce b/51/CH6/EX6.4/6_4.sce new file mode 100755 index 000000000..3fd8c7ef6 --- /dev/null +++ b/51/CH6/EX6.4/6_4.sce @@ -0,0 +1,11 @@ +clc;
+clear;
+p1=30;//kPa
+d=1000;//kg/(m^3)
+r1=1;//m
+r2=0.5;//m
+//applying energy equation between points (1) and (2) and using the equation V^2=16*(r^2)
+V1=(16*(r1^2))^0.5;//m/sec
+V2=(16*(r2^2))^0.5;//m/sec
+p2=((p1*1000)+(d*((V1^2)-(V2^2)))/2)/1000;//kPa
+disp("kPa",p2,"The pressure at point (2) =")
|