a and b invests rs . 4000 and rs . 6000 in a business . after 4 months , a withdraws three - fourth of his capital and 4 months later , b withdraws half of his capital . in what ratio should they share the profits at the end of the year ?
"a : b ( 4000 * 4 ) + ( 1000 * 8 ) : ( 6000 * 8 ) + ( 3000 * 4 ) 24000 : 60000 2 : 5 answer : a"
divide(add(multiply(4000, 4), multiply(divide(6000, const_3), multiply(4, 4))), add(multiply(6000, multiply(4, const_3)), multiply(subtract(6000, divide(6000, const_3)), multiply(4, const_3))))