summaryrefslogtreecommitdiff
path: root/3718/CH14/EX14.6/Ex14_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3718/CH14/EX14.6/Ex14_6.sce')
-rw-r--r--3718/CH14/EX14.6/Ex14_6.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3718/CH14/EX14.6/Ex14_6.sce b/3718/CH14/EX14.6/Ex14_6.sce
new file mode 100644
index 000000000..6dbc4c3a9
--- /dev/null
+++ b/3718/CH14/EX14.6/Ex14_6.sce
@@ -0,0 +1,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)