The oven knows how to cook the food. It knows this because it knows how much energy has been put in to the oven, and how much energy was not put in to the food. By subtracting how much energy was put in, from how much came out, it obtains the kilojoules of energy the food absorbed, or the Gourmet Unit.
Does Miele also design missiles?