To determine the acceleration of an object that begins at rest and moves with uniform acceleration, traversing a distance of \( 40 \, \text{m} \) over 4 seconds, the following kinematic equation is applied:
\[ s = ut + \frac{1}{2} a t^2 \]
Key parameters are:
Substituting these known values into the equation yields:
\[ 40 = 0 \times 4 + \frac{1}{2} a (4^2) \]
The simplified equation is:
\[ 40 = \frac{1}{2} a \times 16 \]
\[ 40 = 8a \]
Solving for \( a \):
\[ a = \frac{40}{8} \]
\[ a = 5 \, \text{m/s}^2 \]
Therefore, the body's acceleration is \( 5 \, \text{m/s}^2 \).