Sorry for so many questions. I've been solving a mass amount of random problems from my textbook to prepare for a test.
For what value(s) of the constant c is the following function continuous on $$(-\infty,\infty)$$ ?
$$f(x)=$$ $$\left\{cx^{2}+2x, x<2$$
$$\left\{x^{3}-cx, x\geq2$$
------------
The function in the original problem had both the equations all in one bracket. Bear with me and my LaTeX noobiness lol