In mathematics, the term function is very famous. If we look at the historical background the term, function was first used by a very well-known mathematician named Leibniz in 1676, who put the meaning of function in terms of the dependence of one quantity on another quantity. A function is also known as the input and output machine. Here are some examples to illustrate the concept:
Consider the formula for finding the area of a circle is . If we look carefully, the area of any circle is dependent upon the radius of that circle. We also say that the area is a function of the radius .
A factory worker's salary depends on the number of hours worked. In this example salary (amount in dollars) is a function of working hours (time ).
The volume of a space occupied by a gas having a constant pressure depends upon the temperature of the gas. In this example volume () is a function of temperature ()