By selling an article for Rs. 171, a shopkeeper gains as much percent as the cost price of an article. In order to get 40% profit, at what price (Rs.) he should sell an article ?
Let the CP of an article be Rs. x, then x + x*x/100 = 171
x^2 + 100x - 17100 = 0
(x-90) (x+190) = 0
x = 90
.'. The selling price at 40% profit = 90*(140/100) = 126 Rs.