john purchased a grinder and a mobile for rs . 15000 & rs . 10000 respectively . he sold the grinder at a loss of 4 % and the mobile phone at a profit of 10 % . overall how much he make a profit .
"let the sp of the refrigerator and the mobile phone be rs . r and rs . m respectively . r = 15000 ( 1 - 4 / 100 ) = 15000 - 600 m = 10000 ( 1 + 10 / 100 ) = 10000 + 1000 total sp - total cp = r + m - ( 15000 + 10000 ) = - 600 + 1000 = rs . 400 as this is positive , an overall profit of rs . 400 was made . a"
subtract(multiply(10, divide(10000, const_100)), multiply(4, divide(15000, const_100)))