Final answer:
The example of a discrete function among the options given is 'The number of students in a class' because this data can only be counted in whole numbers.
Step-by-step explanation:
The question asks which of the given options is an example of a discrete function. A discrete function refers to a system of data or values where the values are distinct and separate, and typically involve counting items. Therefore, let's consider each option:
- Time in a Race: This is an example of a continuous variable because time can take on any value within an interval and is measured rather than counted.
- The number of students in a class: This is an example of a discrete function because students can only be counted in whole numbers. You cannot have a fraction of a student.
- A dog's Weight: Weight is typically a continuous variable because it can be measured and can take on any value within a range.
- Amount of bacteria growing in a petri dish: This can be both continuous and discrete. However, in most practical scenarios, bacteria are counted in colony-forming units, which make it a discrete function if one is counting the colonies.
In conclusion, the option that is a clear example of a discrete function is 'The number of students in a class'.