a alone can do a piece of work in 6 days and b alone in 8 days . a and b undertook to do it for rs . 5000 . with the help of c , they completed the work in 3 days . how much is to be paid to c ?
"c ' s 1 day ' s work = 1 / 3 - ( 1 / 6 + 1 / 8 ) = 1 / 3 - 7 / 24 = 1 / 24 a ' s wages : b ' s wages : c ' s wages = 1 / 6 : 1 / 8 : 1 / 24 = 4 : 3 : 1 c ' s share ( for 3 days ) = rs . ( 3 * 1 / 24 * 5000 ) = rs . 625 answer = c"
multiply(multiply(subtract(inverse(3), add(inverse(8), inverse(6))), 5000), 3)