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 /172/CH6/EX6.8/ex8.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 '172/CH6/EX6.8/ex8.sce')
-rwxr-xr-x | 172/CH6/EX6.8/ex8.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/172/CH6/EX6.8/ex8.sce b/172/CH6/EX6.8/ex8.sce new file mode 100755 index 000000000..49e52f5b6 --- /dev/null +++ b/172/CH6/EX6.8/ex8.sce @@ -0,0 +1,13 @@ +//example 8
+//Required pump work
+clear
+clc
+m=1.5 //mass flow rate of water in kg/s
+g=9.807 //acceleration due to gravity in m/s^2
+Zin=-15 //depth of water pump in well in metres
+Zex=0 //in metres
+v=0.001001 //specific volume in m^3/kg
+Pex=400+101.3 //exit pressure in kPa
+Pin=90 //in kPa
+W=m*(g*(Zin-Zex)*0.001-(Pex-Pin)*v) //power input in kW
+printf(" \n Hence, the pump requires power input of W=%.0f W. \n",W*1000)
\ No newline at end of file |