a and b invests rs . 8000 and rs . 15000 in a business . after 4 months , a withdraws half of his capital and 2 months later , b withdraws one - third of his capital . in what ratio should they share the profits at the end of the year ?
"a : b ( 8000 * 4 ) + ( 4000 * 8 ) : ( 15000 * 6 ) + ( 10000 * 6 ) 64000 : 150000 32 : 75 answer : a"
divide(add(multiply(8000, 4), multiply(divide(15000, const_3), multiply(2, 4))), add(multiply(15000, multiply(2, const_3)), multiply(subtract(15000, divide(15000, const_3)), multiply(2, const_3))))