The pebble is thrown vertically upward with initial velocity:
\[
u=5\text{ m/s}.
\]
Take upward direction as positive.
Acceleration due to gravity acts downward, so:
\[
a=-g=-10\text{ m/s}^2.
\]
Time taken is:
\[
t=3\text{ s}.
\]
We need the velocity after \(3\) seconds.
Use the first equation of motion:
\[
v=u+at.
\]
Substitute the values:
\[
v=5+(-10)(3).
\]
\[
v=5-30.
\]
\[
v=-25\text{ m/s}.
\]
The negative sign shows that the pebble is moving downward when it strikes the ground.
The question asks the velocity with which it strikes the ground, so we take the magnitude:
\[
|v|=25\text{ m/s}.
\]
Hence, the pebble strikes the ground with velocity:
\[
25\text{ m/s}.
\]