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 /1364/CH8/EX8.5.2 | |
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 '1364/CH8/EX8.5.2')
-rwxr-xr-x | 1364/CH8/EX8.5.2/8_5_2.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/1364/CH8/EX8.5.2/8_5_2.sce b/1364/CH8/EX8.5.2/8_5_2.sce new file mode 100755 index 000000000..734a05680 --- /dev/null +++ b/1364/CH8/EX8.5.2/8_5_2.sce @@ -0,0 +1,18 @@ +clc
+//initialisation of variables
+s= 0.9
+v= 5 //ft/sec
+l= 10 //ft
+di= 0.5 //in
+n= 100
+u= 0.002 //lbfsec/ft^2
+w= 62.3 //lbf/ft^3
+g= 32.2 //ft/sec^2
+//CALCULATIONS
+dp= 8*u*v*l/(di/2)^2
+hf= dp*144/(s*w)
+hk= v^2/(2*g)
+ht=hf+hk
+P= s*w*n*v*%pi*ht*di^2/(144*4*550)
+//RESULTS
+printf (' horse-power required = %.1f h.p',P)
|