for the following function....

f(x)= -x+1    if -1<= (read this as less than or equal to) x<1
 
f(x)= 2         if x=1
 
f(x)= x^2.    if x>1
 
 
a) find f(0)
 
b) find f(1)
 
c) find f(2)
 
d) determine domain and range
 

evaluate each part using the given domain.  for example, f(2) would be evaluated at the last piece of the function.
 
since the function covers all x values, the domain is all real numbers greater than or equal to -1.  
 
to find range we need to evaluate the pieces at their end domains to see how the function behaves.
 
for the first piece,
 
f(1) = -1 + 1 = 0
 
the last piece is f(1) = 1
 
since the graph starts out decreasing and then increasing, the range is (0, ∞).