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.5/Example7_5.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.5/Example7_5.sce')
-rwxr-xr-x | 2132/CH7/EX7.5/Example7_5.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2132/CH7/EX7.5/Example7_5.sce b/2132/CH7/EX7.5/Example7_5.sce new file mode 100755 index 000000000..ae133c072 --- /dev/null +++ b/2132/CH7/EX7.5/Example7_5.sce @@ -0,0 +1,15 @@ +////Example 7.5
+clc;
+clear;
+close;
+format('v',6);
+//Given data :
+D=30/100;//meter
+L=500;//meter
+Q=300*10^-3;//m^2/sec
+f=0.0008;//coeff. of friction
+v=Q/(%pi/4*D^2);//m/s
+g=9.81;//gravity constanty
+hf=4*f*L*v^2/D/2/g;//meter
+disp(hf,"Difference in elevation in meter : ");
+//Answer in the book is wrong.
|