Problem: a shopkeeper sold an book offering a discount of 5 % and earned a profit of 30 % . what would have been the percentage of profit earned if no discount was offered ?
Rationale: "let c . p . be $ 100 . then , s . p . = $ 130 let marked price be $ x . then , 95 / 100 x = 130 x = 13000 / 95 = $ 136.8 now , s . p . = $ 136.8 , c . p . = $ 100 profit % = 136.8 % . d"
annotated_formula: multiply(const_100, divide(add(const_100, 30), subtract(const_100, 5)))