a shopkeeper sold an book offering a discount of 5 % and earned a profit of 42.5 % . what would have been the percentage of profit earned if no discount was offered ?
"let c . p . be $ 100 . then , s . p . = $ 142.50 let marked price be $ x . then , 95 / 100 x = 142.5 x = 14250 / 95 = $ 150 now , s . p . = $ 150 , c . p . = $ 100 profit % = 50 % . e"
multiply(const_100, divide(add(const_100, 42.5), subtract(const_100, 5)))