public class QuadraticEquation extends Object
Constructor and Description |
---|
QuadraticEquation() |
Modifier and Type | Method and Description |
---|---|
static double[] |
solveGeneralQuadratic(double a,
double b,
double c)
Solve the general quadratic ax^2 + bx + c = 0
|
static float[] |
solveGeneralQuadratic(float a,
float b,
float c)
Solve the general quadratic ax^2 + bx + c = 0
|
public QuadraticEquation()
public static float[] solveGeneralQuadratic(float a, float b, float c)
a
- ab
- bc
- cpublic static double[] solveGeneralQuadratic(double a, double b, double c)
a
- ab
- bc
- c