/CubicEquationCalculator

Cubic Solver: Cubic Equation Calculator (A X^3 + B X^2 + C X^1 + D = 0)

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Cubic Equation Calculator (Cubic Solver)

Solves the linear equation Ax^3 + Bx^2 + Cx + D = 0 for x.

I searched about "Cubic Equation" topic and used exists source and code to implement this web page to calculate roots of Cubic Equation with supporting Complex Number.

Features

  • Fast
  • Pure JS
  • Supporting Complex number to finding roots
  • Tiny and without needing any third-party tools

A X3 + B X2 + C X1 + D = 0

Cubic Equation Calculator

Demo: https://basemax.github.io/CubicEquationCalculator/cubic.html