Final answer:
To determine the mass of B produced in the second sample, we can use the Law of Definite Proportions. The mass ratio of A to B in the first sample is 3:7. Using this ratio, we can find that 58 g of B was produced in the second sample.
Step-by-step explanation:
To determine the mass of B produced in the second sample, we can use the Law of Definite Proportions. According to this law, the ratio of masses of elements in a compound is always constant.
In the first sample, the mass ratio of A to B is 15 g:35 g = 3:7. This means that for every 3 grams of A, there are 7 grams of B.
Since the second sample produced 25 g of A, we can set up a proportion:
3 g A / 7 g B = 25 g A / x g B
Cross-multiplying and solving for x, we get x ≈ 58 g. Therefore, 58 g of B was produced in the second sample.