Step 1: Use the kinematic equation for maximum height.
When a ball is thrown upwards, the maximum height is given by:
\[
h = \frac{u^2}{2g}
\]
Where:
\( u = 20 \, \text{m/s} \)
\( g = 10 \, \text{m/s}^2 \)
Step 2: Substitute the values.
\[
h = \frac{(20)^2}{2 \times 10} = \frac{400}{20} = 40 \, \text{m}
\]