summaryrefslogtreecommitdiff
path: root/1553/CH21/EX21.5/21Ex5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH21/EX21.5/21Ex5.sce')
-rw-r--r--1553/CH21/EX21.5/21Ex5.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH21/EX21.5/21Ex5.sce b/1553/CH21/EX21.5/21Ex5.sce
new file mode 100644
index 000000000..3cf2709a4
--- /dev/null
+++ b/1553/CH21/EX21.5/21Ex5.sce
@@ -0,0 +1,9 @@
+//chapter 21 Ex 5
+
+clc;
+clear;
+close;
+TotalInterest=11400; r1=6;r2=9;r3=14;
+t1=2;t2=3;t3=4;
+Sum=TotalInterest/((r1*t1/100)+(r2*t2/100)+(r3*t3/100));
+printf("The sum borrowed is Rs. %d",Sum);