summaryrefslogtreecommitdiff
path: root/1247/CH3/EX3.1/example3_1.sce
blob: 29ddbeb038a4f10cceef4f3ed3a29804b8922a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear;
clc;

// Stoichiometry
// Chapter 3
// Material Balances Without Chemical Reaction


// Example 3.1
// Page 60
printf("Example 3.1, Page 60 \n \n");

// solution

m = 1 //[kg] feed water
m1 = 1200 //[mg] dissolved solids in 1 kg feed water
m2 = 3500 //[mg] max dissolved solid content 
x = (m*m1)/m2 // [kg] blown down water
printf("Percentage of feed water to be blown down is "+string(x)+".")