How can you decide whether the domain of a function is discrete or continuous? Describe two real-life examples of functions: one with a discrete domain and one with a continuous domain.