Step 1: Using the trigonometric identity.
We use the following trigonometric identity:
\[
\cos\left(\frac{\pi}{2} + x\right) = -\sin x
\]
Step 2: Explanation.
This is a standard identity in trigonometry. When the angle is shifted by \( \frac{\pi}{2} \), the cosine function becomes negative sine.
Step 3: Conclusion.
Thus, the value of \( \cos\left(\frac{\pi}{2} + x\right) \) is \( -\sin x \).
Final Answer:} \( -\sin x \).