Determining numbers that satisfy an inequality