summaryrefslogtreecommitdiff
path: root/1553/CH21/EX21.12
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH21/EX21.12')
-rw-r--r--1553/CH21/EX21.12/21Ex12.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH21/EX21.12/21Ex12.sce b/1553/CH21/EX21.12/21Ex12.sce
new file mode 100644
index 000000000..a1f1a10be
--- /dev/null
+++ b/1553/CH21/EX21.12/21Ex12.sce
@@ -0,0 +1,9 @@
+//chapter 21 Ex 12
+
+clc;
+clear;
+close;
+Sum=1550; rate1=8/100; rate2=6/100; total=106;
+lent1=(total-(Sum*rate2))/(rate1-rate2);
+lent2=Sum-lent1;
+mprintf("Money lent at 8 percent is Rs.%.0f and that lent at 6 pecent is Rs.%.0f",lent1,lent2);