in one alloy there is 12 % chromium while in another alloy it is 8 % . 10 kg of the first alloy was melted together with 30 kg of the second one to form a third alloy . find the percentage of chromium in the new alloy .
"the amount of chromium in the new 10 + 30 = 40 kg alloy is 0.12 * 10 + 0.08 * 30 = 3.6 kg , so the percentage is 3.6 / 40 * 100 = 9 % . answer : c"
multiply(divide(add(divide(multiply(12, 10), const_100), divide(multiply(8, 30), const_100)), add(10, 30)), const_100)