Comment (continued):
Here is the numerical integration in R statistical software for 5 degrees of freedom.
Matlab, Mathematica, etc. may have methods even easier to use.
integrand = function(x){x*2*dt(x,5)}
integrate(integrand, 0, Inf) # Note use of 'Inf'; R 'decides' where to truncate
## 0.9490167 with absolute error < 5.8e-05
Reality check: Simulate a million observations from $\mathsf{T}(\nu=5),$ take their
absolute values, and average.
x = abs(rt(10^6, 5)); mean(x)
## 0.9489664
However, numerical integration does not give a general
expression for any number $\nu$ of degrees of freedom.
By contrast according to Wikipedia, the distribution $\mathsf{F}(\nu_1=1, \nu_2=5)$ has mean
$\nu_2/(\nu_2 - 2) =$ $5/(5-2) =$ $5/3 \approx 1.6667,$ with square root $1.290994,$
which is not even a poor approximation of $0.9490.$