Change Equation of a Graph
This example shows how you can change the equation of a graph without creating the whole construction again. Dependend elements are updated automatically.
http://www.stacykajri.001webs.com/780.html
http://www.arushbarna.free-site-host.com/822.html
http://www.madhusalil.blackwidowhosting.com/459.html
http://www.dennityson.325mb.com/623.html
http://www.mythisatin.freewebhosting360.com/104.html
http://www.mahmujahna.10fast.net/882.html
http://www.dennityson.325mb.com/198.html
http://www.barregreys.obxhost.net/541.html
http://www.johnpnaima.100megsfree8.com/70.html
http://www.neehaaleen.seitenclique.net/243.html
http://www.balacoctav.nookiehost.com/529.html
http://www.cohenkenda.101freehost.com/96.html
http://www.bemotnauha.rack111.com/185.html
http://www.cohenkenda.101freehost.com/132.html
http://www.balacoctav.nookiehost.com/499.html
Remarks
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.