a bookstore has a shelf that contains biographies which normally sell for $ 20 each and mysteries that normally sell for $ 12 each . during a sale , the biographies and mysteries are discounted at different rates so that a customer saves a total of $ 19 from the normal price by buying 5 discounted biographies and 3 discounted mysteries . if the sum of the discount rates for the two types of books is 27 percent , what is the discount rate on mysteries ?
"let b be the discount on biographies and m be the discount on mysteries so . , b + m = 0.27 - - - - - ( 1 ) and ( 20 * 5 + 12 * 3 ) - ( 20 * 5 * ( 1 - b ) + 12 * 3 * ( 1 - m ) ) = 19 - - > 100 ( 1 - ( 1 - b ) ) + 36 ( 1 - ( 1 - m ) = 19 100 b + 36 m = 19 - - - - - - ( 2 ) solving 12 . , we get m = 0.125 = 12.5 % c"
multiply(subtract(const_1, divide(multiply(20, const_2), add(add(20, 27), const_1))), const_100)