Change Equation of a Graph

From JSXGraph Wiki

This example shows how you can change the equation of a graph without creating the whole construction again. Dependend elements are updated automatically.

kHsO5c <a href="">vxlxfmddnrtf</a>, [url=]cllybjtczvxu[/url], [link=]ewivmgtmljiz[/link],


The doIt() function is only responsible for updating the graph. All other dependend objects are self-updating, especially the object p2 which depends on the derivative of function f. This is all done by aononymous functions of JavaScript.