Finding work done by a force