Work done by a variable force is given by: \[ W = \int_{x_1}^{x_2} F(x) \, dx \] Given force: \( F(x) = 3x^2 - 2x + 7 \) N, displacement from \(x=0\) to \(x=5\). Calculate the integral: \[ W = \int_0^5 (3x^2 - 2x + 7) \, dx = \left[x^3 - x^2 + 7x\right]_0^5 = (125 - 25 + 35) - 0 = 135\, \text{J} \] So, the work done by the force is 135 J.