Using JavaScript listener functions allows
applet to applet communication with GeoGebra.
See GeoGebra JavaScript API for a syntax description of the used methods.
Drag the sliders to change the parameters of the function. Observe how the derivative function in the bottom view changes too.