To solve this type of problem we must use the following equation of kinematics.
where:
Vf = final velocity = 0
Vo = initial velocity = 20 [m/s]
g = gravity acceleration = 10 [m/s²]
y = elevation [m]
Now the key to solving this problem is to know that when the stone reaches the maximum height its speed is zero. Therefore the final velocity term is zero.
Another important fact is that the sign of gravitational acceleration was taken as negative, since it acts in the opposite direction to the movement of the stone.
Friction causes the molecules on rubbing surfaces to move faster, so they have more energy. This gives them a higher temperature, and they feel warmer.