summaryrefslogtreecommitdiff
path: root/1553/CH21/EX21.9/21Ex9.sce
blob: bb5044c2b4625bcd8beda2f8b0cbeee17ee1565a (plain)
1
2
3
4
5
6
7
8
//chapter 21 Ex 9

clc;
clear;
close;
t1=5/2; rate1=12/100; lessby=40; t2=7/2; rate2=10/100;
Sum=lessby/((t2*rate2)-(t1*rate1));
mprintf("The sum is Rs.%.0f",Sum);