Chapter 11: Virtual Work

Example 11.11-6, Page no 188

In [1]:
import math

#Initilization of variables
N=100 #lb
mu=0.3 #coefficient of friction
l=5 #in compressed to length

#Calculations
#Simplfying the calculations we obtain
M=8*(N+N*mu) #lb-in

#Result
print'The Moment is',round(M,3),"lb-in"
The Moment is 1040.0 lb-in

Example 11.11-7, Page no 189

In [2]:
import math

#Initilization of variables
m=10 #kg
g=9.81 # m/s**2
F=200 #N
l=3 #m

#Calculations
#Applying Virtual work principle
By=m*g*0.5 #N
Bx=F*(2*3**-1) #N
#By equations of equilibrium
Ax=-Bx-F #N negative sign indictaes the LEFT orientation
Ay=m*g-By #N

#Result
print'The values are'
print'Ax=',round(Ax),"N to left"
print'Ay=',round(Ay),"N up"
print'Bx=',round(Bx),"N to right"
print'By=',round(By),"N up"
The values are
Ax= -333.0 N to left
Ay= 49.0 N up
Bx= 133.0 N to right
By= 49.0 N up