If $f(x)=\frac{1}{x}-\frac{4}{\sqrt{x}}+3$ where $\frac{1}{16}\le x\le 1$, find the range of $f(x)$.

$ \textbf{(A) }-2\le f(x)\le 4 \qquad\textbf{(B) }-1\le f(x)\le 3\qquad\textbf{(C) }0\le f(x)\le 3\qquad\textbf{(D) }-1\le f(x)\le 4\qquad\textbf{(E) }\text{None of the above} $
1. Given the function \( f(x) = \frac{1}{x} - \frac{4}{\sqrt{x}} + 3 \) and the interval \( \frac{1}{16} \le x \le 1 \), we need to find the range of \( f(x) \).

2. First, let's analyze the behavior of the function. We can find the critical points by taking the derivative of \( f(x) \) and setting it to zero:
   \[
   f'(x) = -\frac{1}{x^2} + \frac{2}{x^{3/2}}
   \]
   Setting \( f'(x) = 0 \):
   \[
   -\frac{1}{x^2} + \frac{2}{x^{3/2}} = 0
   \]
   \[
   \frac{2}{x^{3/2}} = \frac{1}{x^2}
   \]
   \[
   2x^2 = x^{3/2}
   \]
   \[
   2x^{1/2} = 1
   \]
   \[
   x^{1/2} = \frac{1}{2}
   \]
   \[
   x = \left(\frac{1}{2}\right)^2 = \frac{1}{4}
   \]

3. We have a critical point at \( x = \frac{1}{4} \). To determine the nature of this critical point, we can use the second derivative test:
   \[
   f''(x) = \frac{2}{x^3} - \frac{3}{x^{5/2}}
   \]
   Evaluating \( f''(x) \) at \( x = \frac{1}{4} \):
   \[
   f''\left(\frac{1}{4}\right) = \frac{2}{\left(\frac{1}{4}\right)^3} - \frac{3}{\left(\frac{1}{4}\right)^{5/2}}
   \]
   \[
   f''\left(\frac{1}{4}\right) = \frac{2 \cdot 64}{1} - \frac{3 \cdot 32}{1}
   \]
   \[
   f''\left(\frac{1}{4}\right) = 128 - 96 = 32
   \]
   Since \( f''\left(\frac{1}{4}\right) > 0 \), the function has a local minimum at \( x = \frac{1}{4} \).

4. Now, we evaluate \( f(x) \) at the endpoints and the critical point:
   \[
   f\left(\frac{1}{16}\right) = \frac{1}{\frac{1}{16}} - \frac{4}{\sqrt{\frac{1}{16}}} + 3 = 16 - 16 + 3 = 3
   \]
   \[
   f\left(\frac{1}{4}\right) = \frac{1}{\frac{1}{4}} - \frac{4}{\sqrt{\frac{1}{4}}} + 3 = 4 - 8 + 3 = -1
   \]
   \[
   f(1) = \frac{1}{1} - \frac{4}{\sqrt{1}} + 3 = 1 - 4 + 3 = 0
   \]

5. Since \( f(x) \) is decreasing on \( \left[\frac{1}{16}, \frac{1}{4}\right) \) and increasing on \( \left(\frac{1}{4}, 1\right] \), the range of \( f(x) \) is from the minimum value at \( x = \frac{1}{4} \) to the maximum value at \( x = \frac{1}{16} \):
   \[
   \text{Range of } f(x) = [-1, 3]
   \]

The final answer is \( \boxed{ -1 \le f(x) \le 3 } \)