summaryrefslogtreecommitdiff
path: root/1484/CH6/EX6.30
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1484/CH6/EX6.30
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1484/CH6/EX6.30')
-rwxr-xr-x1484/CH6/EX6.30/6_30.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1484/CH6/EX6.30/6_30.sce b/1484/CH6/EX6.30/6_30.sce
new file mode 100755
index 000000000..16891bda8
--- /dev/null
+++ b/1484/CH6/EX6.30/6_30.sce
@@ -0,0 +1,14 @@
+clc
+//initialisation of variables
+hp= 40 //hp
+w= 62.4 //lb/ft^3
+d= 4 //in
+k= 0.98
+v= 2.395 //ft/sec
+W= 120 //tons
+//CALCULATIONS
+hv= hp*550/(w*(%pi*(d/12)^2/4)*k)
+H= hv/v
+d= sqrt(4*W*2240/(w*H*%pi))
+//RESULTS
+printf ('diameter = %.2f ft',d)