Step 1: Understanding the Question:
The function \(\cos\sqrt{x}\) is a cosine whose angle is itself a function of \(x\). So we need the chain rule with the cosine as the outer function and \(\sqrt{x}\) as the inner function.
Step 2: Key Formula or Approach:
1. \(\frac{d}{dx}\cos u = -\sin u \cdot \frac{du}{dx}\).
2. \(\frac{d}{dx}\sqrt{x} = \frac{1}{2\sqrt{x}}\).
Step 3: Apply the chain rule:
Let \(u = \sqrt{x}\). The outer derivative is \(-\sin\sqrt{x}\). We multiply it by the inner derivative \(\frac{1}{2\sqrt{x}}\).
\[ \frac{d}{dx}\cos\sqrt{x} = -\sin\sqrt{x} \times \frac{1}{2\sqrt{x}} = \frac{-\sin\sqrt{x}}{2\sqrt{x}} \]
This is option (B).
Step 4: Why the other options are wrong:
Option (A) \(\sin\sqrt{x}\) has the wrong sign and ignores the inner derivative.
Option (C) \(\frac{\sin\sqrt{x}}{2\sqrt{x}}\) includes the inner derivative but misses the minus sign that comes from differentiating cosine.
Option (D) \(\frac{1}{2\sqrt{x}}\) is only the derivative of \(\sqrt{x}\). It drops the trigonometric part completely.
Final Answer:
The derivative is \(\frac{-\sin\sqrt{x}}{2\sqrt{x}}\), which is option (B).
\[ \boxed{\frac{-\sin\sqrt{x}}{2\sqrt{x}}} \]