clc //initialisations c=1000 t=1//c f=1//f J=4.18//j/cal g=9.8//m/sec2 //CALCULATIONS h=c*t*J/g h1=h*f*5/9 //results printf(' height pf waterfall to rasie 1 c= % 1f m',h) printf(' height of waterfall to raise 1 f= % 1f m',h1)