Let \( y=y(x) \) satisfy the equation \( \dfrac{dy}{dx}-|A|=0 \), for all \( x>0 \), where .If \( y(\pi)=\pi+2 \), then the value of \( y\!\left(\dfrac{\pi}{2}\right) \) is:
\( \dfrac{\pi}{2}+\dfrac{4}{\pi} \)
\( \dfrac{3\pi}{2}-\dfrac{1}{\pi} \)
\( \dfrac{\pi}{2}-\dfrac{4}{\pi} \)
\( \dfrac{\pi}{2}-\dfrac{1}{\pi} \)