disc
Compute the discriminant of a polynomial to determine properties like repeated roots. Provide the polynomial and optionally specify the variable.
Instructions
Compute the discriminant of a polynomial.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| v | No | Variable name. | x |
| pol | Yes | Polynomial. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |