For what values of x is #f(x)=3+x^2/2# concave or convex?