Problem: 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 30 % ?
Rationale: "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 + 30 / 100 ( 35000 ) x = 27985 35000 - x = 6985 difference in the cost prices of televisions = rs . 20985 answer : c"
annotated_formula: subtract(subtract(35000, divide(subtract(multiply(divide(add(const_100, 30), 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, 30), 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))))