You will write three functions that a wildlife scientist uses: an estimate of a population by capture and recapture, the percentage growth between two counts, and the largest harvest that a population can bear.
The idea. . Growth is (new old) old . The largest safe harvest is .
Your tasks.
estimate, return the population for marked animals, a second catch of caught, and recaught marked animals in it.growth, return the percentage growth from old to new.safe_harvest, return for a growth rate r and a habitat that holds k animals.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…