Solve the following:
Q: Determine the intervals on which the function is increasing and intervals on which the function is decreasing. Check your answers by graphing the corresponding functions.
f(x)=(x-1)^3 -2
1. f(x)=cosx+2 restricted to x∈(-2.2)
2. f(x)=x1-x restricted to x<1
3. f(x)=xlnx restricted to positive x