定义仅具有实数系数的一个变量的四阶多项式函数。 Defines functions for 4th order polynomial functions of one variable with only real coefficients.
方法 Methods
提供四次方程与所提供系数的判别式。 Provides the discriminant of the quartic equation from the supplied coefficients.
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
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 | 0 阶单项式的系数。 The coefficient of the 0th order monomial. |
返回: Returns:
判别式的值。 The value of the discriminant.
提供具有所提供系数的四次多项式的实值根。 Provides the real valued roots of the quartic polynomial with the provided coefficients.
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
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 | 0 阶单项式的系数。 The coefficient of the 0th order monomial. |
返回: Returns:
真正有价值的根源。 The real valued roots.
