What is a function?
- Stella Seremetaki
- Oct 25, 2017
- 1 min read
Updated: Mar 30, 2021
Input, Relationship, Output
We will see many ways to think about functions, but there are always three main parts:The input, The relationship,The output
First, it is useful to give a function a name.The most common name is "f", but we can have other names like "g" ... or even "marmalade" if .
But let's use "f": what goes into the function is put inside parentheses () after the name of the function
So f(x) shows us the function is called "f", and "x" goes in and we usually see what a function does with the input f(x)=2x , it shows us that function "f" takes "x" and duplicate it
Example: with f(x) = 2x: an input of 4 becomes an output of 8.In fact we can
write f(4) = 8, a function relates an input to an output.
Saying "f(4) = 8" is like saying 4 is somehow related to 8
Thank's !!!
Κράτα το
Comments