Answer:
See below
Explanation:
If we know that each coffe is sold for $3.50, the function can be written using the following form:
![y=3.50 . x](https://img.qammunity.org/2020/formulas/mathematics/middle-school/312qov6lqp39p7aglysjl8o2wyfk23yf5g.png)
Where Y=amount of money earned, and X=number of coffes ordered.
The domain are the possible values for X. In this case, the domain can be written as:
, as we know that eight people have bought coffe, and the function exists only when the number x is positive (as there can't be a negative number of coffes ordered), from 0 to 8.
The range are the possible numbers for Y. In this case, if 8 coffes are ordered, then the maxium value of Y is:
![y=3.50 . 8](https://img.qammunity.org/2020/formulas/mathematics/middle-school/9bkh3bid76vklwnjryyvbm82gw2xikl7u3.png)
![y=28](https://img.qammunity.org/2020/formulas/mathematics/high-school/ga91aympm8d8gi5217isqja6dw8uk8u9wg.png)
So the range can be written as:
![(0;28).](https://img.qammunity.org/2020/formulas/mathematics/middle-school/xxhgj8mqsxyxb23y9m3xsna77r3fboqea6.png)