a shopkeeper sells 10 % of his stock at 20 % profit ans sells the remaining at a loss of 5 % . he incurred an overall loss of rs . 400 . find the total worth of the stock ?
"let the total worth of the stock be rs . x . the sp of 20 % of the stock = 1 / 10 * x * 6 / 5 = 6 x / 50 the sp of 80 % of the stock = 9 / 10 * x * 0.95 = 171 x / 200 total sp = 24 x / 200 + 171 / 200 = 49 x / 50 overall loss = x - 195 / 20050 = 5 x / 200 5 x / 200 = 400 = > x = 16000 answer : b"
divide(400, subtract(multiply(divide(5, const_100), divide(subtract(const_100, 10), const_100)), multiply(divide(20, const_100), divide(10, const_100))))