When you buy your favorite type of chocolate you are charged
When you buy your favorite type of chocolate you are charged by how much you want. The cost is therefore a function, because it depends on the number of ounces of chocolate you buy. That is, for each input (weight in ounces), there is one output (cost, say in dollars). By contrast the price of a house is not a function of the lot size on which a house is built because houses on the same size lot may sell for many different prices.
Describe an everyday situation between variables that is a function. Clearly explain why the relationship a function.
Describe an everyday situation between variables that is not a function. Clearly explain why the relationship is not a function.
Solution
Example of a function: Distance covered by a person travelling at a constant speed is a function of time
Example of a non-function: The height in cm of every person in the world versus their weight in kgs. There will be many persons having the same weight but their heights will be different(hence not a function)
