I found a workaround, but it’s going to be a pain once the equation changes!
1) Write the equation in a spreadsheet to get a list of the data points.
2) Use Illustrator’s graph tool to create a graph based on the data. (have to copy pasted directly from the spreadsheet. I used Apple’s Numbers, and it only saves as Numbers or Excel file, neither of which were recognized by illustrator.
3) Copy the line in the graph, and use window > pathfinder to make a single path from all the little graph points. Copy this path.
4) In AE create a shape layer with a random shape as a placeholder. Click on that shape’s ‘path’ property and hit paste.
Still waiting to figure out if it can all be done within AE, though.