Solve linear and quadratic equations with full discriminant handling, including complex roots.
Category: Education · Math.