Click or drag to resize

FindRootsQuadratic Method

Find both complex roots of the quadratic equation c + b*x + a*x^2 = 0. Note the special coefficient order ascending by exponent (consistent with polynomials).

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static (Complex , Complex ) Quadratic(
	double c,
	double b,
	double a
)

Parameters

c  Double
The constant coefficient.
b  Double
The coefficient of the linear term.
a  Double
The coefficient of the quadratic term.

Return Value

ValueTupleComplex, Complex
The two complex roots of the quadratic polynomial.
See Also