quartic (<num1>,<num2>,<num3>,<num4>,<num5>)
numeric
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.
<num1>
Quartic coefficient
a.
<num2>
Quartic coefficient
b.
<num3>
Quartic coefficient
c.
<num4>
Quartic coefficient
d.
<num5>
Quartic coefficient
e. Default value is 0.
The folllowing provides the solution for x**4-10x**3+35x**2-50x+24=0.
numeric roots[] = quartic(1,-10,35,-50,24)
Functions: |
|
Identifiers: |
num_roots (numeric) |