daniel went to a shop and bought things worth rs . 25 , out of which 30 paise went on sales tax on taxable purchases . if the tax rate was 10 % , then what was the cost of the tax free items ?
"total cost of the items he purchased = rs . 25 given that out of this rs . 25 , 30 paise is given as tax = > total tax incurred = 30 paise = rs . 30 / 100 let the cost of the tax free items = x given that tax rate = 10 % ∴ ( 25 − 30 / 100 − x ) 10 / 100 = 30 / 100 ⇒ 10 ( 25 − 0.3 − x ) = 30 ⇒ ( 25 − 0.3 − x ) = 3 ⇒ x = 25 − 0.3 − 3 = 21.7 d"
subtract(subtract(25, divide(30, const_100)), divide(30, 10))