Answer:
The function is:
y = 150*x
where y is the number of calories consumed, and x is the number of pieces of candy consumed.
Now, the domain of a function is the possible values of x that you can input in the function.
For this particular case you can have:
x = 0 (no pieces candy)
x = 1 (one piece of candy)
x = 2 (two pieces of candy)
Notice that x can be only whole numbers because, in principle, you can't eat a fraction of a piece of candy.
So we only use x = whole numbers.
Then the domain of the function is equal to all the natural numbers plus the zero, or:
D = {x ∈ N ∪ {0}}
"x belongs to the union between the set of the natural numbers and the zero"
Step-by-step explanation: