This function solves a quadratic equation of the form `ax^2 + bx + c = 0` and returns only the positive real roots. It handles complex intermediate calculations and returns real numbers if the roots are real.
This function solves a quadratic equation of the form `ax^2 + bx + c = 0` and returns only the positive real roots. It handles complex intermediate calculations and returns real numbers if the roots are real.