summaryrefslogtreecommitdiff
path: root/3718/CH15/EX15.1/Ex15_1.sce
blob: 64758ed741c322e5a741e1ace250a3461cb5eb46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//Chapter 15: Environmental Pollution and Control
//Problem: 1
clc;

MM = 294// Molar mass, K2Cr2O7

//Declaration of Variables
v_eff = 25   // cm cube, 
v = 8.3      // cm cube, K2Cr2O7
M = 0.001    // M, K2Cr2O7

// Solution
w = v * 8 * 6 * M / 1000.

mprintf("8.3 cm cube of 0.006 N K2Cr2O7 =%.2e g of O2\n",w)
mprintf(" 25 ml of the effluent requires %.2e g of O2\n",w)

cod = w * 10 ** 6 / 25.
mprintf(" 1l of the effluent requires %.2fg of O2\n",cod)
mprintf(" COD of the effluent sample is %.2f ppm or mg/L",cod)