1 2 3
clc; t=500/8; //using heat gained = heat lost disp(t,"Final temperature in Farenheit = "); //displaying result