$\boxed{\textbf{D}}$
Through a point $P$ inside the $\triangle ABC$ a line is drawn parallel to the base $AB$, dividing the triangle into two equal areas. 
If the altitude to $AB$ has a length of $1$, then the distance from $P$ to $AB$ is:
$\textbf{(A)}\ \frac12 \qquad\textbf{(B)}\ \frac14\qquad\textbf{(C)}\ 2-\sqrt2\qquad\textbf{(D)}\ \frac{2-\sqrt2}{2}\qquad\textbf{(E)}\ \frac{2+\sqrt2}{8}$