A relation that assigns to each element x from a set of inputs, or domain, exactly one element y in a set of outputs, or range, is called a function.
This is further explained below.
Generally, A mathematical function from set X to set Y gives each element of X a unique value in Y. The set X is known as the function's domain and the set Y is its codomain. The original function was a simplification of the relationship between two variables.
In conclusion, A relation is said to be a function if it assigns precisely one element y from a set of outputs to each and every one of the domain's inputs.
Read more about the function
https://brainly.com/question/12431044
#SPJ1