a trader purchased two colour televisions for a total of rs . 35000 . he sold one colour television at 30 % profit and the other 40 % profit . find the difference in the cost prices of the two televisions if he made an overall profit of 32 % ?
let the cost prices of the colour television sold at 30 % profit and 40 % profit be rs . x and rs . ( 35000 - x ) respectively . total selling price of televisions = x + 30 / 100 x + ( 35000 - x ) + 40 / 100 ( 35000 - x ) = > 130 / 100 x + 140 / 100 ( 35000 - x ) = 35000 + 32 / 100 ( 35000 ) x = 28000 35000 - x = 7000 difference in the cost prices of televisions = rs . 21000 answer : a
subtract(subtract(35000, divide(subtract(multiply(divide(add(const_100, 32), const_100), 35000), multiply(divide(add(const_100, 30), const_100), 35000)), subtract(divide(add(const_100, 40), const_100), divide(add(const_100, 30), const_100)))), divide(subtract(multiply(divide(add(const_100, 32), const_100), 35000), multiply(divide(add(const_100, 30), const_100), 35000)), subtract(divide(add(const_100, 40), const_100), divide(add(const_100, 30), const_100))))