what is a function? give 2 examples
Answers
The definition of a function is based on a set of ordered pairs, where the first element in each pair is from the domain and the second is from the codomain.
Typical examples are functions from integers to integers or from the real numbers to real numbers. ... A function is a process or a relation that associates each element x of a set X, the domain of the function, to a single element y of another set Y (possibly the same set), the codomain of the function.
Function is an expression, rule, or law that defines a relationship between one variable (the independent variable) and another variable (the dependent variable ).
The definition of a function is based on a set of ordered pairs, where the first element in each pair is from the domain and the second is from the codomain.
Examples are functions from integers to integers or from the real numbers to real numbers