Defines functions for 4th order polynomial functions of one variable with only real coefficients.
方法
Provides the discriminant of the quartic equation from the supplied coefficients.
参数名称 | 类型 | 描述信息 |
---|---|---|
a |
number | The coefficient of the 4th order monomial. |
b |
number | The coefficient of the 3rd order monomial. |
c |
number | The coefficient of the 2nd order monomial. |
d |
number | The coefficient of the 1st order monomial. |
e |
number | The coefficient of the 0th order monomial. |
返回值:
The value of the discriminant.
Provides the real valued roots of the quartic polynomial with the provided coefficients.
参数名称 | 类型 | 描述信息 |
---|---|---|
a |
number | The coefficient of the 4th order monomial. |
b |
number | The coefficient of the 3rd order monomial. |
c |
number | The coefficient of the 2nd order monomial. |
d |
number | The coefficient of the 1st order monomial. |
e |
number | The coefficient of the 0th order monomial. |
返回值:
The real valued roots.