Change Equation of a Graph

From JSXGraph Wiki
Revision as of 17:45, 22 October 2008 by (talk) (How to Create this Construction)

Jump to: navigation, search

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


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 anonymous functions of JavaScript.