summaryrefslogtreecommitdiff
path: root/409/CH22/EX22.1/Example22_1.sce
blob: 9d4ba784485ec404a9e2df75c8610fbe369a719d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
clear;
clc;
// Example 22.1
printf('Example 22.1\n\n');
//page no. 651
// Solution

//Assume that properties of water can be used to substitute properties of solution
// Given
V = 1.673 ;// Volume of closed vessel-[cubic metre]
m = 1 ;// mass of saturated liquid vaporized-[kg]
Pi = 1 ;// Initial pressure -[atm]
Ti = 10 ;// Initial temperature -[degree C]
Pf = 1 ;// final pressure -[atm]
Tf = 100 ;// final temperature -[degree C]

// Use steam table to obtain additional information at given condition
Ui = 35 ;// Initial enthalpy-[kJ/kg]
Uf = 2506.0 ;// Final enthalpy -[kJ/kg]

// Use eqn. 22.2 after modifiying it using given conditions(W = 0,del_KE = 0 and del_PE = 0 )
Q = m*(Uf - Ui) ;// Heat transferred to  the vessel - [kJ]

printf('\nHeat transferred to  the vessel is %.1f kJ .\n ',Q);