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 5 % , 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 = 5 % ∴ ( 25 − 30 / 100 − x ) 5 / 100 = 30 / 100 ⇒ 5 ( 25 − 0.3 − x ) = 30 ⇒ ( 25 − 0.3 − x ) = 6 ⇒ x = 25 − 0.3 − 6 = 18.7 a"
subtract(subtract(25, divide(30, const_100)), divide(30, 5))