You will write the two-product balance of a flotation circuit. The grades f, c and t are the percentages of metal in the feed, the concentrate and the tailings.
The idea. Total mass and metal mass are both conserved. Solving the two balances gives the mass of concentrate and the recovery.
Your tasks.
concentrate(feed, f, c, t). It returns the mass of concentrate from a mass of feed.recovery(f, c, t). It returns the share of the metal that goes into the concentrate, as a fraction.enrichment(f, c), the ratio of the concentrate grade to the feed grade.Run your code once to unlock the worked solution.
Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…