A discrete function is a function in which the domain and range are each a discrete set of values, rather than an interval in .If a function is discrete, it does not include all of the values between two given numbers, but rather only specific values in a particular range.
So the function A(n)=2n when a supermarket sells string beans for $2 a pound, is discrete.