Trust one reading, or ten?
A greenhouse fan follows a noisy thermometer. How do you stop it flapping?
The rule: fan on above 30 °C. The air is 28.5 °C, then it really does heat up to 31 °C.
Chance one averaged reading crosses 30 °C while it’s calm: 15.9%
| Fan follows… | On for no reason | Off when needed | Flips | Reaction delay |
|---|---|---|---|---|
| each reading | 3 | 13 | 23 | 0 samples |
| average of 1 | 3 | 13 | 23 | 0 samples |
Things to find · 0 of 3
- Turn the noise to zero: is the fan ever wrong? (not yet)
- With real noise, cut the false alarms by averaging (not yet)
- Average 8 or more and spot what gets worse (not yet)
What’s going on? (try it first!)
Single readings near the threshold flip the fan on and off for no reason. Averaging N readings shrinks the noise by about √N, so false alarms almost vanish, but the fan now reacts later when it really does get hot. Less noise, more lag: you choose.
Honest about the model
One thermometer with Gaussian noise, a sudden 2.5 °C rise halfway, a fixed 30 °C threshold. Seeded noise, so the same settings always give the same run. Nothing you do here is saved.
Where next?
Build it for real
Learn the idea
Play with it more
Take it on a Campaign
More discoveries
Next: discovery 5 →- Discovery 1 · 2 minSpin it faster. Why does it calm down?Turn one dial on a washing machine. Where does it shake hardest?Resonance: one variable, a very different machine.
- Discovery 2 · 3 minWire a door alarm from two gatesTwo gates, three switches, one siren. Can you make it ring only when it should?Digital logic: a decision is just gates in the right order.
- Discovery 3 · 3 minTwo joints, one hand. Reach the cupTurn a robot's shoulder and elbow. Can you touch every cup?Kinematics: angles in, hand position out.
- Discovery 5 · 4 minWhich rover would you send?Two rover designs, one battery, one deadline. Which one wins?Trade-offs: the best design depends on the requirement.