Given data
*The given initial speed of the rocket is u = 20.0 m/s
*The given final speed of the rocket is v = 30.0 m/s
*The given distance is s = 40.0 m
The formula for the magnitude of the rocket's acceleration is given by the kinematic equation of motion as
[tex]\begin{gathered} v^2=u^2+2as \\ a=\frac{v^2-u^2}{2s} \end{gathered}[/tex]Substitute the known values in the above expression as
[tex]\begin{gathered} a=\frac{(30.0)^2-(20.0)^2}{2(40)} \\ =6.25m/s^2 \end{gathered}[/tex]Hence, the magnitude of the acceleration of the rocket is a = 6.25 m/s^2