Hi I was wondering if anyone could point me in the right direction here:

I need an example of a function f:[a,b] --> R that is not continuous but whose range is:

(a) an open and bounded interval

(b) an open and UNbounded interval

(c) a closed and unbounded interval.

Thanks for any help