solve_quadratic
Computes the discriminant and real or complex roots for a quadratic equation ax^2 + bx + c = 0; requires a != 0.
Instructions
Solve a*x^2 + b*x + c = 0 and return its roots.
Reports the discriminant and the (real or complex) roots. Requires
a != 0; use a linear solve otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| c | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||