TeX source:
f(x)=\left\{\begin{array}{ccc} x^{3} & \text { if } & x < -1 \\ -2 & \text { if } & -1 < x < 4 \\ \sqrt{x} & \text { if } & x > 4 \end{array}\right.