grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedMaths
Cubic Roots
00000000-93c3-4493-b951-2d6aaa3c5fcf
object preview
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.

Compute the real and complex roots of a cubic in the form ax³+bx²+cx+d.

Input parameters:

  1. A → Factor for cubic portion of the polynomial.
  2. B → Factor for quadratic portion of the polynomial.
  3. C → Factor for linear portion of the polynomial.
  4. D → Factor for constant portion of the polynomial.

Output parameters:

  1. Re → All the real roots of the cubic.
  2. Cx → All the complex roots of the cubic.