clc //initialization of varaibles T1=1050+460//R T2=90+460 //R //calculations eta=(T1-T2)/T1 //results printf("Max. possible efficiency = %d percent",eta*100)