Skip to content

Quadratic Info

Jackkillian edited this page Jan 12, 2023 · 3 revisions

Quadratic Info

Gets information about a quadratic equation: X-intercepts, y-intercept, discriminant, vertex, etc.

Input

Prompts for the values of the equation Ax²+Bx+C=0.
3 values:

  • A: the A coefficient of Ax²+Bx+C=0
  • B: the B coefficient of Ax²+Bx+C=0
  • C: the C value of Ax²+Bx+C=0

Output

Outputs the following values:

  • The full quadratic equation
  • The x-intercepts
  • The discriminant
  • The vertex
  • The y-intercept
  • A symmetrical point (useful for graphing on paper)

The program will quit once you press enter.

Clone this wiki locally