A 5 kg block is pushed along a horizontal surface by a constant force of 20 N. The block moves a distance of 4 meters before coming to a stop due to friction. Assuming the frictional force is constant, calculate the work done by the applied force while the block was moving.