Equations and inequalities with one variable