Math input to Table

How can you get a rule from a math input and put it in a table?

On screen 6 I want the rule that the student puts to get put in a table

You can use this. You need to enter your x values

f=simpleFunction(yourInputName.latex)
#Day0
cellContent(1,2): f.evaluateAt(0)
#Day1
cellContent(2,2): f.evaluateAt(1)
...etc for each individual cell

I tried it but I got an error that said sink "cellContent" expects a latex but got a number

Sorry, they need to be strings, so

f=simpleFunction(yourInputName.latex)
#Day0
cellContent(1,2): "${f.evaluateAt(0)}"
#Day1
cellContent(2,2): "${f.evaluateAt(1)}"
...etc for each individual cell

It worked, thank you