How do you determine whether the function #y=x^2 # is concave up or concave down and its intervals?