diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3733/CH2/EX2.10 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3733/CH2/EX2.10')
-rw-r--r-- | 3733/CH2/EX2.10/Ex2_10.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3733/CH2/EX2.10/Ex2_10.sce b/3733/CH2/EX2.10/Ex2_10.sce new file mode 100644 index 000000000..22c85f9c9 --- /dev/null +++ b/3733/CH2/EX2.10/Ex2_10.sce @@ -0,0 +1,14 @@ +// Example 2_10
+clc;funcprot(0);
+//Given data
+H=40;// Head in m
+A=1.8;// Area of the reservoir in km^2
+P=24;// MW
+n_o=80/100;// The over all efficiency
+rho_w=1000;// kg/m^3
+g=9.81;// m/s^2
+
+//Calculation
+q=(P*1000*1000)/(rho_w*g*H*n_o);// m^3/sec
+x=(q*3600)/(A*10^6);// m/hr
+printf('\nThe rate of fall in height of reservoir=%0.3f m/hr',x);
|