blob: b327e23cd08c056cf94ef2c0b3afba154f18f615 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//To find the resultant primary and secondary force
clc
//given
N=1500 //rpm
R=4//lb
g=32.2//ft/s^2
w=%pi*N/30
stroke=5//in
r=stroke/2
l=9//in
b=3.5//in
B=(3/2)*R*r/b//primary force
n=l/r
F=(3/2)*R*w^2*r/(g*12*n)//secondary force
printf("\nResultant primary force = %.2f lb\nResultant secondary force = %.f lb",B,F)
|