in a caravan , in addition to 50 hens , there are 45 goats and 8 camels with some keepers . if the total number of feet be 224 more than the number of heads in the caravan , the number of keepers is
explanation : let number of keepers be x . then , total number of feet = 2 x 50 + 4 x 45 + 4 x 8 + 2 x = 2 x + 312 . total number of heads = 50 + 45 + 8 + x = 103 + x . therefore ( 2 x + 312 ) = ( 103 + x ) + 224 or x = 15 . answer : d
subtract(add(add(add(50, 45), 8), 224), add(add(multiply(const_2, 50), multiply(const_4, 45)), multiply(const_4, 8)))