Calc.SolveQuartic Method

Solves the cubic equation c4*x^4 + c3*x^3 + c2*x^2 + c1 * x+ c0 = 0 for x.
Public Shared Function SolveQuartic( _ 
ByVal c4 As Double, _ 
ByVal c3 As Double, _ 
ByVal c2 As Double, _ 
ByVal c1 As Double, _ 
ByVal c0 As Double, _ 
ByVal s As List(Of Double) _ 
) As Integer
This language is not supported or no code example is available.
public static int SolveQuartic( 
double c4
double c3
double c2
double c1
double c0
List<double> s 
)
This language is not supported or no code example is available.
public:  
static int SolveQuartic( 
double c4
double c3
double c2
double c1
double c0
List<double>^ s 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

c4
double

Coefficient 1.

c3
double

Coefficient 2.

c2
double

Coefficient 3.

c1
double

Coefficient 4.

c0
double

Coefficient 5.

s
List<double>

An array where solutions are pushed.

Return Value

int

The number of solutions found (=number of numbers pushed to array)

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition