Step 1: Find cos x
With sides 3, 4, 5 and both sine and cosine negative, $\cos x=-\frac45$.
Step 2: Half-angle Identity
$2\cos^2\frac x2=1+\cos x=\frac15$, so $\cos^2\frac x2=\frac1{10}$.
Step 3: Sign
$\frac{x}{2}$ lies in the second quadrant, so $\cos\frac x2=-\frac1{\sqrt{10}}$.
Final Answer:
The value is $-\frac{1}{\sqrt{10}}$.
\[ \boxed{\text{(D) }-\dfrac{1}{\sqrt{10}}} \]