Computer Science, asked by rahat12989, 6 months ago

what is a function? give two example ​

Answers

Answered by ItsBrainest
4

Explanation:

A function is a mapping from a set of inputs (the domain) to a set of possible outputs (the codomain). 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.

Answered by manjuoxiinc2019
3

Answer:

A function is a relation for which each value from the set the first components of the ordered pairs is associated with exactly one value from the set of second components of the ordered pair.

Similar questions