Finding the Range of a Function