Let us assume that I want to graph any of the functions below.
A) A can of soda costs $\$1$. Draw a graph depicting the total cost as a function of the number of cans you buy.
Comment: One cannot actually buy $4.6$ cans of soda.
B) Ellen is a member at a gym. She pays $\$30$ at the start of every month and she paid an initial fee of $\$10$ for a membership card. Draw a graph depicting the amount of money Ellen has paid after $x$ months.
Comment: The graph is in my opinion something like a step-function if interpreted as a function on the real numbers.
C) You bring a large cake into the classroom, intending to share it with the other students. Draw a graph depicting the amount of cake each student gets.
Comment: One cannot have $7.3$ students.
It is in my opinion rather hard to say exactly what the domains are in the examples above. However, I want to give some justification in the case that I should "approximate" the functions as being $\mathbb{R} \to \mathbb{R}$. Should I avoid giving word problems like these? Should I avoid mentioning this issue if no student points it out? Should I rather ask them to make a table and not to attempt to graph the functions at all?
Question
When working with 12-16 year olds, how should I depict graphs of functions that are technically not $\mathbb{R} \to \mathbb{R}$?