hey did you know the roots of a cubic polynomial can be visualized using an equilateral triangle?

🔵 vertices are roots
🔴 the incenter is the inflection point
🟢 the incircle boundaries are the local minima/maxima

@acegikmo Wow, that is great!

That makes it much more clear why solutions to cubic polynomials involve trigonometric functions!

GraphicsGems/Roots3And4.c at master · erich666/GraphicsGems

Code for the "Graphics Gems" book series. Contribute to erich666/GraphicsGems development by creating an account on GitHub.

GitHub