3 ms·
Just JSXGraph: https://jsxgraph.uni-bayreuth.de/wp/index.html https://jsxgraph.uni-bayreuth.de/wp/index.html I'm not entirely happy with the framerate I get wi
by akalin 9y ago
Just JSXGraph: https://jsxgraph.uni-bayreuth.de/wp/index.html https://jsxgraph.uni-bayreuth.de/wp/index.html
I'm not entirely happy with the framerate I get with the button-triggered animations (especially on mobile) but lack the front-end expertise to track down the problem.
- jacobolus 9y agoWould be nice if dragging the coefficients would also change the roots.
- akalin 9y agoYeah. I think I punted on that because, although it's easy for degrees <= 4 (since those have general formulas!), I'd have to implement some root-finding method for degrees >= 5, and somehow preserve the orderings of the roots. Not insurmountable problems -- I might go back and do that someday!
- duetosymmetry 9y agoI was just pondering about this. I imagine that moving a coefficient a small amount (and so long as the roots are not too close) that Newton-Raphson, initialized with a previously-known root, would converge very quickly to the new root while preserving the order. If there truly are roots of multiplicity >= 2, then preserving the order of the multiple roots doesn't matter. Another issue is that Newton-Raphson might fail if the roots are too close.
- TheRealPomax 9y agoAh, interesting, I had not heard of that one.