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
Substitute the known values in the above expression as
Hence, the magnitude of the acceleration of the rocket is a = 6.25 m/s^2