a and b started a business in partnership investing rs . 20000 and rs . 15000 respectively . after 6 months , c joined them with rs . 20000 . what will be a ' s share in the total profit of rs . 27000 earned at the end of 2 years from the starting of the business ?
solution a : b : c = ( 20000 × 24 ) : ( 15000 × 24 ) : ( 20000 × 18 ) = 4 : 3 : 3 a ' s share = rs . ( 27000 × 4 / 10 ) = rs . 10800 . answer d
floor(divide(multiply(divide(multiply(20000, 2), add(multiply(add(20000, 15000), 2), multiply(20000, divide(const_3, const_2)))), 27000), const_1000))