# What is an example of a function that describes a situation?

##### 1 Answer

Consider a taxi and the fare you have to pay to go from A street to B avenue and call it

So yo can write that "fare depends upon distance" or in mathlanguage:

A strange thing is that when you sit in the taxy the meter already shows a certain amount to pay...this is à fixed amount you have to pay no matter the distance, let's say,

Now for each km travelled the taxi driver has to pay petrol, maintenance of the vehicle, taxes and get money for himself...so he will charge

The meter of the taxi will now use the following function to evaluate the fare:

This is called "linear" function and allows you to "predict" your fare for each distance travelled (even if

Now, let us assume that the distance

You can now improve your function including additional costs and dependences or build new relationships.