I want student to type in the equation of a quadratic, which means they need to type in x=# into the math input area. I have not yet been able to figure out how to have computation layer automatically graph that input in the graph on that slide. Any solutions that I am missing?
In the CL documentation:
https://teacher.desmos.com/computation-layer/documentation#components:input/graph
If you scroll down to the “function” sink of graph and click on “Try It!” there’s an example where it graphs an equation based on a math input. I’m not quite sure, is that what you’re looking for?
In graph CL:
function("f"): simpleFunction(input.latex)
In your graph:
y=f(x)
simpleFunction
defaults in terms of x, so if you want x=
, you need your function in terms of y:
function("f"): simpleFunction(input.latex,"y")
Something in standard form, you want to use parseEquation
. A little more complicated, but still doable.
1 Like