You will work out how much of a radioactive isotope is left after storage, how long it must be stored, and how long a landfill lasts.
The idea. The fraction left after a time is , where is the half-life. To fall to a fraction takes . A landfill lasts its volume divided by the volume of waste added each day.
Your tasks.
fraction_left. It gives the fraction of the activity left after t years for a half-life half_life in years.time_to. It gives the years needed to fall to a fraction f.landfill_years. It gives the life in years of a landfill of capacity cubic metres that takes tonnes a day of waste of density tonnes per cubic metre.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…