Given:
Total cost P(x) as a function of the number of tickets, x is

To find:
The domain for visiting and riding rides at Paul’s Pumpkin Patch.
Solution:
Domain is the set of input values.
Here, domain is x and it represents the number of tickets.
We know that, number of tickets cannot be negative or decimal or fraction vales. So, x must be non-negative and integer value.
Domain = x ≥ 0, x is an integer
Therefore, the correct option is D.