How can I modify my function so that it will take a list of ordered pairs, and return just the pairs whose first value is greater than or equal to a given minimum and less than or equal to a given maximum value?
This is the initial code:
function2[list_, max_] := Select[list, # <= max &]
I know what to do for the order pairs. I just don't know how to use multiple conditions with