closed interval example