summaryrefslogtreecommitdiff
path: root/1364/CH15/EX15.4.1/15_4_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1364/CH15/EX15.4.1/15_4_1.sce')
-rwxr-xr-x1364/CH15/EX15.4.1/15_4_1.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1364/CH15/EX15.4.1/15_4_1.sce b/1364/CH15/EX15.4.1/15_4_1.sce
new file mode 100755
index 000000000..9e1d26190
--- /dev/null
+++ b/1364/CH15/EX15.4.1/15_4_1.sce
@@ -0,0 +1,16 @@
+clc
+//initialisation of variables
+d= 12 //in
+n= 3
+l= 24 //in
+w= 1100 //gallons
+l1= 380//ft
+l2= 4 //ft
+l3=56 //ft
+//CALCULATIONS
+r= 0.98*n*%pi*(d/12)^2*(l/12)
+Q= w/6.23
+C= Q/r
+p= w*10*(l1+l2+l3)/(0.9*33000)
+//RESULTS
+printf (' Horse power required to drive= %.f h.p',p)