Could you help me understand what a function is by telling me whether this is true or not?
The definition of Function from Merriam-webster:
A mathematical correspondence that assigns exactly one
element of one
set, to each element of the same or another set. A
variable (As a quality, trait, or measurement) that depends on and varies with another [
24].
A function has three main parts:
50 x 2 = 1001. The Input
2. The Relationship
3. The Output
What goes into the function is put inside a
Parentheses after the
function name.
For example: The value of
f (
x), for (
x = 2), is
f (
2)
The (
x) is a
place-holder that shows you where the input goes and what happens to it.
This function: f (
x) =
x2 takes the Input (
x = 2) and squares it.
So the (
x2) takes the Input of (2) and gives the Output of 4
This can also be written as f (
2) =
4Other symbols besides (
x) can also used.
The function: f
(x = 2) =
1 - (
x)
+ (x2) = 3f (x = 2) = 1 - (x) = -1-1 + (x2) = 3
The same function, but with (
θ) for the Input's place-holder: f
(θ = 2) =
1 - (
θ)
+ (θ2) = 3f (θ = 2) = 1 - (θ) = -1-1 + (θ2) = 3
Whatever the symbol may be, the result will be the same [
00].
The purpose of a function is to relate an input, to an output.
h(Gear) Gear x 20Km/h
h(2) = 40Km/h
The function takes the input (Gear of the car), and relates it to an output (The Speed, multiplied by 2).