I am trying to prove, that this function k is: 1)continuous at $0$ and 2) noncontinuous in all $x_0=\frac{1}{n}, n\in\{\Bbb Z\}\setminus\{0\} $ the function k is given through: $$ k:== \begin{cases}(\lfloor\frac{1}{x}\rfloor\cdot x^2) &\mbox{if } x\neq0 \\ 0 & \mbox{if } x=0 \end{cases} $$ $$k: \Bbb R\to \Bbb R $$
So, considering the first question I got:
given $ |x-x_0|<\delta$ and since we are working in $0$, $x_0=0$, so $|x|<\delta$
Now I am starting with $$|k(x)-k(x_0)|=\left|\lfloor\frac{1}{x}\rfloor\cdot x^2-0\right|=\left|\lfloor\frac{1}{x}\rfloor\cdot x^2\right|<\left|\lfloor\frac{1}{x}\rfloor\delta^2\right|=\left|\lfloor\frac{1}{x}\rfloor\right|\cdot\delta^2$$ But at this point I do not know what to do with the floor function and I have no idea at the moment how to prove, that it is noncontinuous at $x_0=\frac{1}{n}$
Hint for the first question : You have for all $x \in \mathbb{R^*}$ : $\frac{1}{x}-1 < \left \lfloor\frac{1}{x} \right \rfloor \leq \frac{1}{x}$