diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1325/CH6/EX6.8/6_8.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1325/CH6/EX6.8/6_8.sce')
-rw-r--r-- | 1325/CH6/EX6.8/6_8.sce | 19 |
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)")
|