summaryrefslogtreecommitdiff
path: root/1553/CH32/EX32.4/32Ex4.sce
blob: 7d0bea3af48f5d2d9515a1a7e88a3d7eacd91b76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter 32 Ex 4

clc;
close;
clear;
t=6/12; r=25/2; dif=25;
// after solving equation of difference between SI and TD considering amount as x we get (x/16)-(x/17)=25 and solving it
for x=1:7000
   if ((x/16)-(x/17))==25
       break;
       end
end
mprintf("The sum is Rs.%d",x);