summaryrefslogtreecommitdiff
path: root/1967/CH4/EX4.3/4_3.sce
blob: 603504da917ee7b53e95329914f5235a87bf0297 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
//initialisation of variables
clear
p1= 20 //atm
p2= 200 //atm
T1= 25 //C
n= 2/7
//CALCULATIONS
T2= (p1/p2)^n*(273+T1)-273
//RESULTS
printf ('Final temperature = %.f C',T2)