Several thermometers hang in the same room. None is perfect: wobbles[i] is how much thermometer i typically misses by, a spread like the one in “How spread out?”. Write best_guess(readings, wobbles): one best estimate of the room’s temperature.
A lab thermometer and a cheap one hang in the same room. The lab one reads 20° and is almost never more than 0.01° off; the cheap one reads 22° and is often 2° off. What’s the room’s temperature?
best_guess(readings, wobbles)| readings | what each thermometer says, in degrees | e.g. [20, 22, 27] |
| wobbles | how much each one typically misses by | e.g. [1, 1, 1] |
| returns | one best estimate of the temperature | |