work, in physics and mechanics, transfer of energy by a force acting to displace a body. Work is equal to the product of the force and the distance through which it produces movement. Although both force and displacement are vector quantities, having both magnitude and direction, work is a scalar quantity, having only magnitude. If the force acts in a direction other than that of the motion of the body, then only that component of the force in the direction of the motion produces work. Thus when a 5-lb (22.4-newton) force pulls a body 10 ft (3 m), it does 50 foot-pounds (67.2 meter-newtons) of work. If a force acts on a body constrained to remain stationary, no work is done by the force. Even if the body is in motion, the force must have a component in the direction of motion. Thus, any centripetal force, such as the sun's gravitational pull on the earth, does no work because it acts at right angles to the motion and has no component in that direction (see centripetal force and centrifugal force). When there is no friction and a force acts on a body, the work done by the force is equal to the increase of the kinetic and potential energy of the body, since all the energy expended by the agency exerting the force must be gained by the body. If frictional forces are present, then some of the work must go to overcome friction and appears finally in the form of heat energy. A simple machine is a device for converting work into another form of energy. For example the jackscrew converts an input of work done on the machine to raise the load. The efficiency of a machine, which is defined as the ratio of the work output to the work input, is always less than one, since some of the input is invariably wasted in overcoming friction. The element of time does not enter into the computation of work; the time rate of doing work is called power. One horsepower is an expenditure of 33,000 foot-pounds per minute. Some of the units used to measure work are the foot-pound, the erg, and the joule.