an amount of money is to be distributed among faruk , vasim and ranjith in the ratio 3 : 5 : 7 . if vasims share is rs . 1500 , what is the difference between faruk ' s and ranjith ' s shares ?
"explanation : let p = faruk , q = vasim , r = ranjith let p = 3 x , q = 5 x and r = 7 x . then , 5 x = 1500 ? x = 300 . p = 900 , q = 1500 and r = 2100 . hence , ( r - p ) = ( 2100 - 900 ) = 1200 answer : a"
multiply(divide(1500, 5), subtract(7, 3))