In this exercise $I = [-1, 1]$ and $\mathcal{E}_1$ is the euclidean topology. I was looking at the function: $f:(\mathbb{R},\mathcal{E}_1) \rightarrow (I,\mathcal{E}_1)$ defined by: $$ f(x) = \begin{cases} \sin(\frac{1}{x}) & x \neq 0 \\ 0 & x = 0 \end{cases} $$ This function is not continuous but I was wondering if it is open or not. By definition a function is open is for every open set in the starting topology I get an open set, I think that is the case here.
What does happen if I change $I = [-1, 1]$ with $\mathbb{R}$?

To determine whether a function $f:X \rightarrow Y$ is open, it suffices$^\dagger$ to determine whether it's open on a basis for the topology on $X$. In this scenario, single open intervals $(a,b)$ serve as a basis for $\mathbb{R}$. So let's think about what the image of such an interval looks like.
This consideration breaks down into two cases: whether a complete oscillation between the two extrema ($-1$ and $1$) is made in $f\Big((a,b) \Big)$. If one is, then every value in $[-1,1]$ is hit. Since $[-1,1]$ is the whole space, it is open, so $(a,b) \mapsto \{\text{open set}\}$. If a complete oscillation is not made, then the extrema of $f\Big((a,b) \Big)$ will be either an open interval looking like $\Big(\sin(1/a), \ \sin(1/b) \Big)$—or the other way around—or a half-open interval with $\sin(1/a)$ or $\sin(1/b)$ on the open end and an extremum on the closed end. In either case, these are open sets in $[-1,1]$.
So $f$ is open because basis elements in $\mathbb{R}$ (open intervals) get sent to open sets in $[-1,1]$ under the subspace topology inherited from $\mathbb{R}$. Notice that this conclusion is quite dependent on the choice of target space. If we'd considered this same function as $f: \mathbb{R} \rightarrow \mathbb{R}$, then $f$ would not be open because $[-1,1]$ is not open in $\mathbb{R}$.
$^\dagger$This is due to the fact that $\displaystyle f \left( \bigcup_k U_k \right) = \bigcup_k f(U_k)$.