Problem: an uneducated retailer marks all his goods at 50 % above the cost price and thinking that he will still make 25 % profit , offers a discount of 25 % on the marked price . what is his actual profit on the sales ?
Rationale: "sol . let c . p . = rs . 100 . then , marked price = rs . 150 . s . p . = 75 % of rs . 150 = rs . 112.50 . ∴ gain % = 12.50 % . answer a"
annotated_formula: multiply(subtract(subtract(add(const_1, divide(50, const_100)), multiply(add(const_1, divide(50, const_100)), divide(25, const_100))), const_1), const_100)