clc; g=9.8; //gravitational constant in m/sec square Lf=3.35*10^5; //Latent heat of fusion in J/kg h=Lf/g; //calculating height in metre using potential energy(m*g*h)=(mass*heat of fusion) disp(h,"Height of falling in metre = "); //displaying result.