a person purchases 90 clocks and sells 40 clocks at a gain of 10 % and 50 clocks at a gain of 20 % . if he sold all of them at a uniform profit of 15 % , then he would have got rs . 40 less . the cost price of each clock is ?
"let c . p . of clock be rs . x . then , c . p . of 90 clocks = rs . 90 x . [ ( 110 % of 40 x ) + ( 120 % of 50 x ) ] - ( 115 % of 90 x ) = 40 44 x + 60 x - 103.5 x = 40 0.5 x = 40 = > x = 80 answer : c"
divide(40, subtract(add(multiply(40, add(const_1, divide(10, const_100))), multiply(50, add(const_1, divide(20, const_100)))), multiply(90, add(const_1, divide(15, const_100)))))