summaryrefslogtreecommitdiff
path: root/3718/CH14/EX14.6/Ex14_6.sce
blob: 6dbc4c3a91728b5ed0b486dea25bb222228fb0a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Chapter 14: Water Treatment
//Problem: 6
clc;

//Initialisation of Variables
v1 = 150   //in litres for NaCl

//Solution
a_hardwater = 22500 * v1 /(3 * 0.6 * 58.5)

mprintf("The amount of hard water that can be softened using this softner is:%.1f litres",a_hardwater)