summaryrefslogtreecommitdiff
path: root/1247/CH2/EX2.24/example2_24.sce
blob: 6c4a388a29086c7dabf3f94b7b0b1ea32b82f687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
clear;
clc;

// Stoichiometry
// Chapter 2
// Basic Chemical Calculations


// Example 2.24
// Page 40
printf("Example 2.24, Page 40 \n \n");

// solution

p = 100 //[bar]
T = 623.15 //[K]
R = .083145
V = R*T/p // [l/mol] molar volume
v = V/18.0153 // 
printf("Specific volume = "+string(v)+" m^3/kg.")