It is given that at x = 1, the function x4−62x2+ax+9 attains its maximum value, on the interval [0, 2]. Find the value of a.
Discuss the continuity of the function f,where f is defined by\(\left\{\begin{matrix} -2, &if\,x\leq-1 \\ 2x,&if\,-1<x\leq 1 \\ 2,&if\, x>1 \end{matrix}\right.\)