summaryrefslogtreecommitdiff
path: root/1427/CH18/EX18.12/18_12.sce
blob: 52326a15886a7ca0d8b0ad8774e0a2effbf3eff2 (plain)
1
2
3
4
5
6
//ques-18.12
//Determining required percentage for a heat engine
clc
n=0.1;//(T2-T1)/T2
r=0.9;//T1/T2
printf("Required percentage of T1/T2 is %d.",r*100);