Jump to content

Fruit salad/Minerals and vitamins/Example

From Wikiversity

A healthy breakfast starts with a fruit salad. The following table shows how much vitamin C, calcium, and magnesium various fruits have (in milligrams with respect to 100 grams of the fruit).


apple orange grapes banana
vitamin C
calcium
magnesium

This table yields a mapping, which assigns to a -tuple , representing the used fruits, the content of the resulting fruit salad with respect to vitamin C, calcium, and magnesium, in the form of a -tuple . This mapping can be described with the matrix

using matrix multiplication as