Problem: a merchant sells an item at a 20 % discount , but still makes a gross profit of 20 percent of the cost . what percent w of the cost would the gross profit on the item have been if it had been sold without the discount ?
Rationale: "let the market price of the product is mp . let the original cost price of the product is cp . selling price ( discounted price ) = 100 % of mp - 20 % mp = 80 % of mp . - - - - - - - - - - - - - - - - ( 1 ) profit made by selling at discounted price = 20 % of cp - - - - - - - - - - - - - - ( 2 ) apply the formula : profit w = selling price - original cost price = > 20 % of cp = 80 % of mp - 100 % cp = > mp = 120 cp / 80 = 3 / 2 ( cp ) now if product is sold without any discount , then , profit = selling price ( without discount ) - original cost price = market price - original cost price = mp - cp = 3 / 2 cp - cp = 1 / 2 cp = 50 % of cp thus , answer should bec ."
annotated_formula: subtract(const_100, subtract(subtract(const_100, 20), 20))