Computation layer not working

I’m very new to the computation layer and having a little trouble with a basic concept. I’m trying to populate a graph component from a math input component. I found an example, but when I copy the exact code and try it in my activity, nothing happens.

My code:
function(“f”): simpleFunction(input.latex)

I labeled the math input component “input” but I get nothing. I shared the activity below. Could someone help me figure out what I’m doing wrong?


You have the CL correct, but there has to be an object in the graph for it to actually sink that function into. So you create f(x) = x (or whatever) in the graph, and then y = f(x) to display the graph. [Copy of] math input to graph • Activity Builder by Desmos

Thank you! That did the trick!