Final answer:
The acceleration of the ball is 5 m/s².
Step-by-step explanation:
The acceleration of an object can be calculated using the equation:
Acceleration (a) = (final velocity - initial velocity) / time
In this case, the initial velocity is 20 m/s and the final velocity is 30 m/s. The time is 2.0 seconds. Plugging these values into the equation, we get
Acceleration (a) = (30 m/s - 20 m/s) / 2.0 s = 5 m/s²
Therefore, the acceleration of the ball is 5 m/s².