The Burgers equation on the semi-infinite and finite intervals