Artificial intelligent assistant

An analytical way to find range of $f(x)=\frac{x}{\lfloor x\rfloor}$ I want to find range of this function analytically . I tried to polt it and see $$R_f=(0,2)$$ and $$f(x)=\frac{x}{\lfloor x\rfloor}$$ Can you help me ?

put $x=n+p\\\
\in \mathbb{Z}\\\0\leq p<1 \\\$

$$\quad{f(x)=\frac{x}{\lfloor x\rfloor}=\frac{n+P}{n}=\\\1+\frac{p}{n}}$$now look for $max \frac pn$ $$case 1: n>0 \to 0<\frac pn<1\\\case 2: n<0 \to -1<\frac pn<0\\\obviously \space n\
eq 0 $$so $$0<\frac pn<1 \to 0+1<1+\frac pn<2\\\\-1<\frac pn<0 \to -1+1<1+\frac pn<0+1 \\\case 1 \cup case 2:(0,2)$$

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 3314a95ec5dbb5133887479f63eaff32