Define the range of a function from its equation (#344)

Define the range of a function from its equation (#344)