summaryrefslogtreecommitdiff
path: root/3825/CH7/EX7.2/Ex7_2.sce
blob: e877b831095bf89b0d916aefa9ba608c577bf881 (plain)
1
2
3
4
5
6
7
8
clc
T2=300 
T1=1400
Eta=1-(T2/T1)
mprintf("Eta=%f\n",Eta)//ans vary due to roundoff error
Q1=65 //in kJ/min
W=60 //in kJ/min
mprintf("efficiency claimed by inventor=%f",W/Q1)//ans vary due to roundoff error