blob: e4a539d6ccfc24f538901959a099cc4d995bc7eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
clc;clear;
//Example 3.8
//given values
T=80;
P=5;
//from Table A–7
//at compressed liq given conditions
u=333.82;
//from Tablw A-4
//at saturation
usat=334.97;
//calcualtion
e=(usat-u)/u*100;
disp(u,'internal energy of compressed liquid water using data from the compressed liquid table in kJ/kg ');
disp(usat,'internal energy of compressed liquid water using saturated liquid data in kJ/kg ');
disp(e,'the % error involved in the second case is ')
|