#example 2.3
#page no. 29
#calculate the max additional load
import math
Pm=0.74
teta1=30
teta2=45
print('a1=0.026*Pm')
print('a2=0.304*Pm')
print("since a2 > a1 ,the drive is stable")
load=Pm*math.sin(math.degrees(60.5))
print('maximum safe load =1.74*Pl1')
print'%s %.2f %s' %('So, additional load that can be thrown on the shaft =',Pm,'rated load')