I need to get the numeric solution of a pde but the solution diverges
$k \frac{\partial^2 u(x,t)}{ \partial x^2} = \frac{\partial u(x,t)}{\partial t}$
where $k = 2$
and
$u(x,0)=\begin{cases} 0 & x< -1 \\ -100 & -1<x<0\\ 100 & 0 < x < 1\\ 0 & x>1 \end{cases}$
here is my code:
trozos[x_] = Piecewise[{{0, x < -1}, {-100, -1 < x < 0}, {100, 0 < x < 1}, {0, x >= 1}}]
NDSolve[{k D[u[x, t], x, x] == D[u[x, t], t], u[x, 0] == trozos[x]}, u[x, t], {x, -2, 2}, {t, 0, 5}]
any help is appreciated