summaryrefslogtreecommitdiff
path: root/1460/CH3/EX3.2/3_2.sce
blob: 5fcd822922423c5dc548406590fece51018d6f1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
//initialization of variables
P=100 //lb/in^2
T=470  //F
T2=500 //F
T1=450 //F
//calculations
disp("From table 4 of appendix,")
v1=5.268
v2=5.589
v=v1+2*(v2-v1)/5
//results
printf("Specific volume at %d F = %.3f ft^3/lbm",T,v)