summaryrefslogtreecommitdiff
path: root/1967/CH7/EX7.1/7_1.sce
blob: c9528e139501b79e834fcb48b2b9f11c566173b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc
//initialisation of variables
clear
T1= 308 //K
T2= 373 //K
T3= 538 //K
//CALCULATIONS
e1= (T2-T1)/T2
e2= (T3-T1)/T3
//RESULTS
printf ('Efficiency = %.3f ',e1)
printf ('\n Efficiency = %.3f ',e2)