The scenario
A student or developer inputs coefficients a, b, and c for a quadratic equation. The flowchart first rejects the not-quadratic case when a=0, then computes the discriminant and routes to distinct real, repeated, or complex conjugate roots.
What is in this drawing
Read the decisions behind it.
01
Is the coefficient a zero?
02
Is the discriminant greater than zero?
03
Is the discriminant equal to zero?
Use when teaching or implementing a quadratic equation solver that must handle linear degeneracy and all three root cases.
More like this