a and b invests rs . 5000 and rs . 6000 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 ( 5000 * 4 ) + ( 2500 * 8 ) : ( 6000 * 6 ) + ( 4000 * 6 ) 40000 : 60000 2 : 3 answer : a"
divide(add(multiply(5000, 4), multiply(divide(6000, const_3), multiply(2, 4))), add(multiply(6000, multiply(2, const_3)), multiply(subtract(6000, divide(6000, const_3)), multiply(2, const_3))))