a shopkeeper has 280 kg of apples . he sells 40 % of these at 20 % profit and remaining 60 % at 20 % profit . find his % profit on total .
"if the total quantity was 100 then 40 x 20 % + 60 x 20 % = 20 this profit will remain same for any total quantity unless the % of products remains the same . hence ' b ' is the answer"
divide(multiply(subtract(add(multiply(divide(multiply(280, 40), const_100), divide(add(const_100, 20), const_100)), multiply(divide(multiply(280, 60), const_100), divide(add(const_100, 20), const_100))), 280), const_100), 280)