You will write functions that turn comparisons with two stars into a magnitude, and that find a mean and its uncertainty.
The idea. The fractional method gives . The mean is the sum over the number of values. The sample standard deviation is , and the uncertainty of the mean is that divided by .
Your tasks.
fractional_estimate, return the estimate by the fractional method.mean, return the mean of a list.error_of_mean, return the uncertainty of the mean of a list.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…