You are trying to brew the best possible cup of coffee.
There is one thing you can change: how many grams of coffee you put in. Everything else — the water, the mug, the machine — stays fixed.
Too little and the cup tastes watery. Too much and it tastes bitter. Somewhere in between there is a sweet spot.
So you run experiments and give each cup a taste score out of 10.
You are now doing something with a name. You are optimizing.

Cups of coffee brewed at different strengths