# Example 23.2 Principle of work and energy for a rigid body¶

In [1]:
import math
# Initilization of variables
m=600 # kg # mass of the roller
r=0.25 # m # radius of the roller
P=850 # N # Force
v=3 # m/s # velocity to be acquired
theta=30 # degree # angle made by v with the force P
# Calculations
# The distance required to be rolled is given by equating the Work done between positions 1 & 2 as,
x=((3/4)*m*v**2)/(P*math.cos(theta*math.pi/180)) # m
# Results
print('The distance required to be rolled is %f m'%x)

The distance required to be rolled is 5.501808 m