Let f be the function given by

with domain [-2,4].

a) Find the coordinate of each relative maximum and minimum point of f. Explain your answer.

I understand that I have to find the first and second derivative.

For the first derivative I got

For the second derivative I got

I was just wondering if that was right.

I also had to find the x-coordinate of each point of inflection. Am I right when I say that i need to do sign analysis for the second derivative to find the points of inflection?

Thanks,

-Chris