The simple answer is to turn your function into data by plugging x
values into the function and reading off the y values, then plotting
those. It's what almost everybody does.
*However*, if you'd like something cuter, Stephen Bullen has a clever
demonstration of the power of named ranges on his website: