To calculate the speed of the swimmer, we can use the formula for speed:
\[ \text{Speed} = \frac{\text{Distance}}{\text{Time}} \]
In this case, the distance is 50 meters and the time is 21 seconds. Plugging in these values:
\[ \text{Speed} = \frac{50 \text{ meters}}{21 \text{ seconds}} \approx 2.38095 \text{ meters per second} \]
Rounding this to the nearest tenth:
\[ \text{Speed} \approx 2.4 \text{ meters per second} \]
Therefore, the swimmer's speed is 2.4 meters per second.