You will write three small functions to deal with the readings of a counter.
The idea. The count rate is the counts divided by the time. Readings of a random emission vary, so we average several. The corrected count rate is the average with the source minus the average background.
Your tasks.
count_rate, return the count rate in counts/min for a number of counts in a number of minutes.average, return the average of a list of readings.corrected_rate, return the average count rate with the source minus the average background.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…