I have the following question and i'm not sure how to go about proving whether sets are open closed, or both.
Which of the following sets are open and which are closed?
$1)\ [1,2] \cup [3,4] \ in \ ( \mathbb{R},|\cdot|)$
$2)[1.2] \ in (\mathbb{R},d)$ where d is a discrete metric.
$3)\ B=[x=(x_n)_(n\in\mathbb{N}) :|x_n|< \epsilon\ for \ all \ n \in \mathbb{N}] $ where $\epsilon>0$ is given in $(\ell^\infty, ||\cdot||_\infty)$
$4)\ c_0 $the set of sequences converging to 0 in $(\ell^\infty,||\cdot||~_\infty)$
Any help would be greatly appreciated