Sweet function
Choose your own function. The shop can only sell you a whole number of muffins and it will only charge you a whole number of euros. The plot though will represent the function properly.
Don't you know what a negative amount of euros or a negative amount of muffins is? Neither does the shop. Try f(x)=1-4sin(x) or f(x)=x^2 for example.