each light bulb at a hotel is either incandescent or fluorescent . at a certain moment , thirty percent of the incandescent bulbs are switched on , and eighty percent of the fluorescent bulbs are switched on . if 40 percent of all the bulbs are switched on at this moment , what percent of the bulbs that are switched on are incandescent ?
"let i be the number of incandescent bulbs . let f be the number of fluorescent bulbs . 0.3 i + 0.8 f = 0.4 ( i + f ) 0.4 f = 0.1 i f = 0.25 i this means that for every 4 incandescent bulbs , there is 1 fluorescent bulb . the percent of bulbs that are switched on which are incandescent is : 0.3 i / ( 0.3 i + 0.8 f ) = 0.3 i / ( 0.3 i + 0.8 * 0.25 i ) = 0.3 i / 0.5 i = 3 / 5 = 60 % . the answer is d ."
multiply(divide(multiply(subtract(multiply(divide(divide(subtract(multiply(multiply(const_4, const_2), multiply(add(const_4, const_1), const_2)), 40), subtract(40, multiply(const_3, multiply(add(const_4, const_1), const_2)))), add(const_4, const_1)), multiply(add(const_4, const_1), const_2)), divide(multiply(const_3, multiply(add(const_4, const_1), const_2)), const_100)), multiply(const_3, multiply(add(const_4, const_1), const_2))), 40), const_100)