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/CH7/EX7.12/Example7_12.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/CH7/EX7.12/Example7_12.sce')
-rwxr-xr-x | 2132/CH7/EX7.12/Example7_12.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2132/CH7/EX7.12/Example7_12.sce b/2132/CH7/EX7.12/Example7_12.sce new file mode 100755 index 000000000..01fe44c95 --- /dev/null +++ b/2132/CH7/EX7.12/Example7_12.sce @@ -0,0 +1,15 @@ +////Example 7.12
+clc;
+clear;
+close;
+format('v',6);
+//Given data :
+g=9.81;//gravity constanty
+D1=100/1000;//meter
+D2=300/1000;//meter
+Q1=0.01;//m^3/sec
+A1=%pi/4*D1^2;//m^2
+A2=%pi/4*D2^2;//m^2
+//hf1=hf2
+Q2=sqrt(D2/(D1)*(Q1/A1)^2*A2^2);//cumec
+disp(Q2,"Discharge throough 300mm pipe in cumec : ");
|