Question: work done when force is variable?
Answer: The work done by a constant force of magnitude F on a point that moves a displacement Δx in the direction of the force is simply the product. W=F⋅Δx. In the case of a variable force, integration is necessary to calculate the work done. For example, let's consider work done by a spring.