summaryrefslogtreecommitdiff
path: root/1388/CH4/EX4.8/4_8.sce
blob: c4c957429635c9f7f1487f67e293844e57a1c09e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
//initialisation of variables
T1= 273.16 //K
R= 1.987 //cal /mol K
R1= 0.08205 //J /mol K
n= 10 //moles
V1= 22.4 //lit
a= 1.36
Cv= 4.9
//CALCULATIONS
T2= T1-(R*a*(n-1)/(R1*n*Cv*V1))
//RESULTS
printf (' temperature= %.2f K',T2)