Given. Steady, fully-developed flow in a circular pipe; pressure drop $\Delta p=21$ kPa over
length $L=2$ m; diameter $D=200\text{ mm}=0.200$ m.
Find. A closed-form wall-shear relation valid for laminar or turbulent flow, and the numerical wall
shear stress $\tau_w$.
Approach. Balance the net pressure force pushing a cylindrical slug of fluid forward against
the wall-shear force resisting it; the result is geometry-only, hence regime-independent. Then substitute the
Darcy–Weisbach pressure drop to expose the dependence on average velocity.
Force balance on a fluid cylinder. For a slug of diameter $D$ and length $L$ in steady flow the net
pressure force equals the wall drag:
$$\Delta p\cdot\frac{\pi D^2}{4}=\tau_w\cdot(\pi D L).$$
Solve for the wall shear. Cancelling $\pi D$,
$$\boxed{\ \tau_w=\dfrac{\Delta p\,D}{4L}\ }$$
which holds for laminar or turbulent flow because no constitutive (viscosity) assumption entered — only equilibrium.
Relate to average velocity. Darcy–Weisbach writes the same pressure drop as
$\Delta p=f\dfrac{L}{D}\dfrac{\rho V^2}{2}$. Substituting into the boxed result gives
$$\tau_w=\frac{D}{4L}\cdot f\frac{L}{D}\frac{\rho V^2}{2}=\frac{f}{8}\,\rho V^2,$$
the closed-form link between wall shear and the average velocity $V$ (the friction factor $f$ carries the
laminar/turbulent behaviour).
Numerical value. With $\Delta p=21\,000$ Pa, $D=0.200$ m, $L=2$ m:
$$\tau_w=\frac{21\,000\times0.200}{4\times2}=\boxed{525\ \text{Pa}}.$$