A body of mass m starts moving from rest along x-axis so that its velocity varies as $v = a \, \sqrt{s}$ where a is a constant and s is the distance covered by the body. The total work done by all the forces acting on the body in the first t seconds after the start of the motion is :
Velocity of the body is given by $v=a \sqrt{s}$ Differentiating w.r.t. $t$, we get Acceleration, $a'=\frac{d v}{d t}=a \frac{1}{2} s^{-1 / 2} \cdot \frac{d s}{d t}=a \frac{1}{2 \sqrt{s}} \cdot v$$\Rightarrow a'=\frac{a}{2 \sqrt{s}} \cdot a \sqrt{s}=\frac{a^{2}}{2}$ Force on the body is $F=m a'=\frac{m a^{2}}{2}$ Distance covered by the body is given by $s=u t+\frac{1}{2} a' t^{2}$ $\Rightarrow s=\frac{1}{2} \cdot \frac{a^{2}}{2} t^{2}$ Work done =Force $\times$ Distance $=\frac{m a^{2}}{2} \cdot \frac{1}{2} \frac{a^{2}}{2} t^{2}=\frac{1}{8} m a^{4} t^{2}$
Work is correlated to force and the displacement over which it acts. When an object is replaced parallel to the force's line of action, it is thought to be doing work. It is a force-driven action that includes movement in the force's direction.
The work done by the force is described to be the product of the elements of the force in the direction of the displacement and the magnitude of this displacement.
Energy:
A body's energy is its potential to do tasks. Anything that has the capability to work is said to have energy. The unit of energy is the same as the unit of work, i.e., the Joule.
There are two types of mechanical energy such as; Kinetic and potential energy.
Power is the rate at which energy is transferred, conveyed, or converted or the rate of doing work. Technologically, it is the amount of work done per unit of time. The SI unit of power is Watt (W) which is joules per second (J/s). Sometimes the power of motor vehicles and other machines is demonstrated in terms of Horsepower (hp), which is roughly equal to 745.7 watts.
Power is a scalar quantity, which gives us a quantity or amount of energy consumed per unit of time but with no manifestation of direction.