Answer:
Speed of ball just before it hit the surface is 31.62 m/s .
Explanation:
Given :
Mass of ball , m = 50 g = 0.05 kg .
Height from which it falls , h = 80 m .
Thermal energy , E = 15 J .
Now , Initial energy of the system is :

Here , initial velocity is zero .
Therefore , 
Now , final energy of the system :

Since , no external force is applied .
Therefore , total energy of the system will be constant .
By conservation of energy :

Therefore , speed of ball just before it hit the surface is 31.62 m/s .