blob: bee2a03f5ebcb30db63b4dada5652859f52faef9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
n=1.25 //number of turns
o=2*3.14*n //angle of contact
u=0.3 //coefficient of friction
t=600.0 //force at the other end of the rope
//if the impending motion of the weight be downward.
T2=t*%e**(u*o)
W=T2
printf("Maximum weight is %f",W)
printf("\n answer in textbook is wrong")
//if the impending motion of weight be upwards
T1=t*%e**(-1*u*o)
W=T1
printf("\n Minimum weight is %f",W)
|