summaryrefslogtreecommitdiff
path: root/1553/CH10/EX10.30/10Ex30.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH10/EX10.30/10Ex30.sce')
-rw-r--r--1553/CH10/EX10.30/10Ex30.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1553/CH10/EX10.30/10Ex30.sce b/1553/CH10/EX10.30/10Ex30.sce
new file mode 100644
index 000000000..9ebe085c8
--- /dev/null
+++ b/1553/CH10/EX10.30/10Ex30.sce
@@ -0,0 +1,11 @@
+//chapter 10 Ex 30
+
+clc;
+clear;
+close;
+solAmt=30; solPercent=2/100; incPercent=10/100;
+saltAmt=solAmt*solPercent;
+//let x kg of pure salt be added, thus equation will be (0.6+x)/(30+x)=10/100
+pureAmt=240/90;
+mprintf("The amount of pure salt that must be added is %.2f kg.",pureAmt);
+