Quadratic and Rational Inequalities