We know that power of a lens, $$p = \dfrac{100}{f} $$ D, where $$f$$ is focal length expressed in $$cm$$.
We will apply the lens formula to calculate the focal length ($$f$$).
Lens formula: $$ \dfrac{1}{v} - \dfrac{1}{u} = \dfrac{1}{f} $$
In the first case (when the object is placed at the near point and image is formed on the ratina),
$$v = 2 \space cm$$ and $$u = -10 \space cm$$
$$ \dfrac{1}{2} - \dfrac{1}{-10} = \dfrac{1}{f} $$
$$ \Rightarrow \dfrac{5}{10} + \dfrac{1}{10} = \dfrac{1}{f} $$
$$ \Rightarrow \dfrac{6}{10} = \dfrac{1}{f} $$
$$\Rightarrow f = \dfrac{10}{6} = \dfrac{5}{3} $$
Thus, power $$P = \dfrac{100}{f} = \dfrac{100\times 3}{5} = +60 \space D$$
In the second case (when the object is placed at the far point and image is formed on the ratina),
$$v = 2 \space cm$$ and $$u = -100 \space cm$$
$$ \dfrac{1}{2} - \dfrac{1}{-100} = \dfrac{1}{f} $$
$$ \Rightarrow \dfrac{50}{100} + \dfrac{1}{100} = \dfrac{1}{f} $$
$$ \Rightarrow \dfrac{51}{100} = \dfrac{1}{f} $$
$$\Rightarrow f = \dfrac{100}{51} $$
Thus, power $$P = \dfrac{100}{f} = \dfrac{100\times 51}{100} = +51 \space D$$
Therefore, the range of the power of the eye lens is $$60 \space D$$ to
$$51 \space D$$