a shopkeeper sells 20 % of his stock at 10 % profit ans sells the remaining at a loss of 5 % . he incurred an overall loss of rs . 300 . 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 / 5 * x * 1.1 = 11 x / 50 the sp of 80 % of the stock = 4 / 5 * x * 0.95 = 19 x / 25 = 38 x / 50 total sp = 11 x / 50 + 38 x / 50 = 49 x / 50 overall loss = x - 49 x / 50 = x / 50 x / 50 = 300 = > x = 15000 answer : e"
divide(300, subtract(multiply(divide(5, const_100), divide(subtract(const_100, 20), const_100)), multiply(divide(10, const_100), divide(20, const_100))))