summaryrefslogtreecommitdiff
path: root/1325/CH6/EX6.8/6_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '1325/CH6/EX6.8/6_8.sce')
-rw-r--r--1325/CH6/EX6.8/6_8.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1325/CH6/EX6.8/6_8.sce b/1325/CH6/EX6.8/6_8.sce
new file mode 100644
index 000000000..e3f0a0919
--- /dev/null
+++ b/1325/CH6/EX6.8/6_8.sce
@@ -0,0 +1,19 @@
+//To find maximum horizontal force that can be transmitted to the pump
+clc
+stroke=4//in
+d=11.5//in
+ds=4//in
+dp=14//in
+theta=%pi
+u1=.25
+T=350//lb
+u2=0.1
+k=%e^(u1*theta)
+T2=T1/k
+Tor=(T1-T2)*(dp/2)//total resisting torque
+//total resisting torque is also given by P*(r+2*(cos%pi/6))+u2*R*(ds/2)
+//equating and putting values we get the following quadratic equation
+p=[1 -1.163D3 3.342D5]
+a=roots(p)
+printf("\nP=%.1f",a)
+printf("\nThe larger of two values is inadmissible. It corresponds to a negative sign in front of the second term on the right hand side of equation (1)")