How do you determine whether the function #f(x)=x^3+3x^2+5x+7# is concave up or concave down and its intervals?