Random errors make readings scatter, but their mean settles down as the readings grow in number. A systematic error does not. You will make the program take , , and timings of a swing whose true period is , and watch what happens.
The idea. The mean is the best value, and the mean absolute error says how far a single reading usually is from it:
Your tasks.
mean(values) return the mean.mae(values) return the mean absolute error.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…