The ball's velocity will be represented by the derivative of its distance function:

Now find the times

for which this is equal to 30, i.e. solve

This has two solutions,

, but only one is positive and falls in the interval
![[0,3]](https://img.qammunity.org/2018/formulas/mathematics/high-school/4gjwmbzme905usolxrlprsxgp9o405j2h2.png)
. So the velocity reaches 30 cm/s when

.