blob: 886ff8ee6250bcc22d4f97ed2b1c30fdc25a53aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
//Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
w=80//lbf
p=4//ft
d=20//stroke/min
d1=3//in
p1=0.6//sec
h=2//ft/s
g=32.2//ft/s
t=60//sec
//CALCULATIONS
P=t/d//sec
U=2*%pi/d1//sec^-1
V=U*sqrt(h^2-(3/4)^2)//ft/s
K=(w*V^2/(h*g))//lbf
M=U^2*h//ft/s^2
M1=(w/g)*M//lbf
D=h*cosd(U*0.6*180/%pi)//ft
D1=h-D//ft
//RESULTS
printf('the kinetic energy of the crosshead=% f lbf',K)
printf('the maximum acceleration of force on crosshead=% f lbf',M1)
printf('the distance from end of the path=% f ft',D1)
|