Function: quartic

Syntax

quartic (<num1>,<num2>,<num3>,<num4>,<num5>)

Type

numeric

Returns

The solution to a quartic equation. Four values are returned, these being the roots of the equation. If there are fewer than four unique roots, then the actual number can be found by querying the system numeric num_roots.

A quartic equation is of the form: ax**4 + bx**3 + cx**2 + dx + e = 0.

Parameters

Examples

The folllowing provides the solution for x**4-10x**3+35x**2-50x+24=0.

numeric roots[] = quartic(1,-10,35,-50,24)

See Also

Functions:

cubic (numeric), quadratic (numeric)

Identifiers:

num_roots (numeric)