a man deposits $ 1000 in a bank at 2 % per annum and $ 1500 in uti at 7 % per annum . find the rate of interest for the whole sum .
"following the above formula , we have the rate of interest for the whole sum = ( 1000 * 2 ) + ( 1500 * 7 ) / 1000 + 1500 = 12500 / 2500 = 5 % . answer is a"
multiply(const_100, divide(subtract(add(p_after_gain(2, 1000), p_after_gain(7, 1500)), add(1000, 1500)), 1500))