a , b , c subscribe rs . 50,000 for a business . if a subscribes rs . 4000 more than b and b rs . 5000 more than c , out of a total profit of rs . 40,000 , what will be the amount a receives ?
"total amount invested = 50000 assume that investment of c = x . then investment of b = 5000 + x , investment of a = 4000 + 5000 + x = 9000 + x x + 5000 + x + 9000 + x = 50000 ⇒ 3 x + 14000 = 50000 ⇒ 3 x = 50000 – 14000 = 36000 ⇒ x = 36000 / 3 = 12000 investment of c = x = 12000 investment of b = 5000 + x = 17000 investment of a = 9000 + x = 21000 ratio of the investment of a , b and c = 21000 : 17000 : 12000 = 21 : 17 : 12 share of a = total profit × 21 / 50 = 40000 × 21 / 50 = 16,800 answer is c"
multiply(add(divide(subtract(multiply(5000, const_10), add(add(4000, 5000), 5000)), const_3), add(4000, 5000)), divide(multiply(multiply(const_3, const_12), const_1000), multiply(5000, const_10)))