1d e 2d