blob: 9ec5b93c6538d81549ef3ed42efa6889a3f18615 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clc
//initialisation of variables
n=180//rpm
a=420//mm
h=a/8//mm
w=60*n*12//sec
b=5//mm
p=20//m
v=30//m
r=50//mm/sec
d=28.5//mm
//CALCULATIONS
D=b*p/v//mm
D1=d*r//mm/sec
//RESULTS
printf('the legth of crank =% f mm/sec',D1)
|