//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);