Problem: a , b and c start a business each investing 10,000 . after 6 months a withdrew 5000 , b withdrew 4000 and c invests 6000 more . at the end of the year , a total profit of 34,200 was recorded . find the share of b .
Rationale: "ratio of the capitals of a , b and c = 10000 ã — 6 + 5000 ã — 6 : 10000 ã — 6 + 6000 ã — 6 : 10000 ã — 6 + 16000 ã — 6 = 90000 : 96000 : 156000 = 90 : 96 : 156 b â € ™ s share = ( 34200 ã — 96 â  „ 342 ) = 9600 answer a"
annotated_formula: divide(add(multiply(subtract(const_12, 6), 4000), multiply(multiply(const_2, multiply(const_100, const_100)), 6)), multiply(const_100, const_10))