Let I be an arbitrary bounded interval (you should consider all types of intervals: closed, open, half-open) and a<b, then using only the definition of the integral show that the elementary step function φI is integrable on [a,b], and find the integral in terms of a, b, and the endpoints of I.