Implements two features for the Function class:
1. Adds the `__eq__` operator (`==`) to allow for logical comparison of two Function objects based on their coefficients.
2. Replaces the standard quadratic formula with a numerically stable version in `quadratic_solve` to prevent "catastrophic cancellation" errors and improve accuracy.