The shaft work formula used to calculate the work done by a rotating shaft is: Work Torque x Angular Displacement. The dp/dt formula represents the rate of change of pressure with respect to time in a system. It is calculated by taking the derivative of the pressure function with respect to time. This formula ... To calculate the work done by friction in a system, you can use the formula : Work Force of friction x Distance. First, determine the force of friction acting on the object. The formula for calculating the work done by a constant force is: Work Force x Distance x cos(), where is the angle between the force and the direction of motion.