rect(t/2) from -2 to 2