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 /3417/CH9/EX9.3.5.1 | |
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 '3417/CH9/EX9.3.5.1')
-rw-r--r-- | 3417/CH9/EX9.3.5.1/Ex9_3_5_1.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3417/CH9/EX9.3.5.1/Ex9_3_5_1.sce b/3417/CH9/EX9.3.5.1/Ex9_3_5_1.sce new file mode 100644 index 000000000..65646c6c3 --- /dev/null +++ b/3417/CH9/EX9.3.5.1/Ex9_3_5_1.sce @@ -0,0 +1,18 @@ +//Ex9.3.5.1.;Calculate Energy generated
+R=12;//unit=m; R is the range
+r=3;//unit=m; the head below turbine stops operating
+time=(44700/2);
+A=30*10^6;
+g=9.80;
+p=1025;
+//The total theoretical work W=integrate('1','w',R,r);
+W=(g*p*A*((R^2)-(r^2)))/2;
+printf(" W=%f ",W);
+//The average power generated
+Pav=W/time;//unit=watts
+printf("\n The average power generated=%f watts",Pav);
+pav=(Pav/1000)*3600;//unit=kWh
+printf("\n The average power generated=%f kWh",pav)
+//the energy generated
+Energy_generated=pav*0.73
+printf("\n Energy generated=%f kWh",Energy_generated);
|