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 /1466/CH7/EX7.7/7_7.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 '1466/CH7/EX7.7/7_7.sce')
-rwxr-xr-x | 1466/CH7/EX7.7/7_7.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1466/CH7/EX7.7/7_7.sce b/1466/CH7/EX7.7/7_7.sce new file mode 100755 index 000000000..704dbb22f --- /dev/null +++ b/1466/CH7/EX7.7/7_7.sce @@ -0,0 +1,16 @@ +
+clc
+//initialisation of variables
+Th=100+20//ft
+g=32.2
+k1=1.875
+k2=9.14
+pi=22/7
+r=0.25
+//CALCULATIONS
+k=1/(2*g)
+k3=(k+(k1/(k2*k2)))
+v=sqrt(Th/k3)
+dis=pi*r*r*v/4
+//results
+printf (' Discharge through pipe= %.2f ft^3/sec ',dis)
|