$B=a+(2a)^{-1}: a\in \mathbb Q, 0.1≤a≤5$.
What I tried to do is work on the limits, $0.1≤a≤5 \implies 1/10≤1/2a≤5$ than to find the supremum and infimum. I tried to find the limit for $a+(2a)^{-1}$ which was $1/10≤a+1/2a≤5+1/10$. Making the supremum and maximum to be $5+1/10$ and infimum and min to be $1/10$.
Is this correct?