summaryrefslogtreecommitdiff
path: root/1439/CH5/EX5.1/5_1.sce
blob: ad41b2677128ab2ad9b3d4bb1935230ce72b50ce (plain)
1
2
3
4
5
6
7
8
9
clc 
//initialisation of variables
q2= 1000 //cal
T2= 100 //C
T1= 20 //C
//CALCULATIONS
wmax= q2*(T2-T1)/(273.1+T2)
//RESULTS
printf ('maximum work= %.f cal ',wmax)