summaryrefslogtreecommitdiff
path: root/2870/CH3/EX3.2/Ex3_2.sce
blob: 85668eee3cc571c7f50a6ef3b81d9ba31ca50ac7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc;clear;
//Example 3.2

//given values
V=2;
P=50;

//Values from Table A-5E
T=280.99;//in F
v=8.5175;//in ft^3/lbm

//caluclation
m=V/v;//dimension analysis
disp(m,'mass of vapour inside cylinder in lbm');
disp(T,'temp inside cylinder in F')