summaryrefslogtreecommitdiff
path: root/1286/CH8/EX8.22/8_22.sce
blob: 72a867a7a1962d112e4cc418fa465527f6ebbe1f (plain)
1
2
3
4
5
6
7
8
9
clc
//initialisation of variables
T2=500//k
T1=1000//k
//CALCULATIONS
r=1-(T2/T1)
x=T1/r
//results
printf(' \n value of x= % 1f k',x)