blob: 5f97068558d9300c6f43e5a32ee2f222b123b133 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Length of belt
N2=80
N1=200
d1=240
d2=d1*N1/N2 //mm
r1=120 //mm
r2=300 //mm
l=2500 //mm
//length of crossbelt
L=%pi*(r1+r2)+2*l+((r1+r2)^2)/l //mm
printf("The length of crossbelt L=%.2f mm",L)
|