Problem: a and b enterd into a partnership investing rs . 16000 and rs . 12000 respectively . after 3 months , a withdrew rs . 5000 while b invested rs . 5000 more . after 3 more months . c joins the business with a capital of rs . 21000 . the share of b exceeds that of c , out of a total profit of rs . 26400 after one year by
Rationale: solution a : b : c = ( 16000 x 3 + 11000 x 9 ) : ( 12000 x 3 + 17000 x 9 ) : ( 21000 x 6 ) = 147 : 180 : 126 = 7 : 9 : 6 . ∴ difference of b and c ’ s shares = rs . ( 26400 x 9 / 22 - 26400 x 6 / 22 ) = rs . 3600 . answer c
annotated_formula: subtract(multiply(26400, divide(add(multiply(12000, 3), multiply(add(12000, 5000), subtract(const_12, 3))), add(add(add(multiply(16000, 3), multiply(subtract(16000, 5000), subtract(const_12, 3))), add(multiply(12000, 3), multiply(add(12000, 5000), subtract(const_12, 3)))), multiply(21000, subtract(subtract(const_12, 3), 3))))), multiply(26400, divide(multiply(21000, subtract(subtract(const_12, 3), 3)), add(add(add(multiply(16000, 3), multiply(subtract(16000, 5000), subtract(const_12, 3))), add(multiply(12000, 3), multiply(add(12000, 5000), subtract(const_12, 3)))), multiply(21000, subtract(subtract(const_12, 3), 3))))))