This comes from Apostol's Calculus, Vol. II, Section 10.9 #14:
A uniform wire has the shape of that portion of the curve of intersecion of the two surfaces $x^2+y^2=z^2$ and $y^2=x$ connecting the points $(0,0,0)$ and $(1,1,\sqrt 2)$. Find the $z$-coordinate of its centroid.
The $z$-coordinate of the centroid is defined as $\dfrac {\int_C z\, \mathrm ds}{\int_C \mathrm ds}$, where $s(t)$ is the arc length. (That is, if $\vec\alpha(t)$ is a parametrization of $C$, $s(t)=\int \lVert \vec \alpha \,' (t) \rVert \mathrm d t$.)
One valid parametrization of the curve is $\vec \alpha(t)=\left(t^2,\, t,\, t\sqrt {t^2+1}\right)\,,$ however this becomes quite difficult to work with. In fact, Mathematica can only numerically integrate $\int_C \mathrm ds= \int_0^1 \lVert \vec \alpha\, '(t) \rVert\, \mathrm dt$. I thought perhaps using a substitution like $t=\tan(\theta)$ would be helpful, but obviously if this was viable Mathematica would have performed this simple substitution in the first place.
My question is, specifically for this problem, is there a nicer parametrization that I am missing? Hints appreciated. I have tried solving $x$ and $y$ in terms of $z$ and using the resulting parametrization, but it is no better.
In case it is helpful, the book's answer is $\frac {600-36\sqrt 2 - 49 \log(9-4\sqrt 2)}{64[6\sqrt 2 + \log (3+2\sqrt 2)]}\approx0.747018$ While Mathematica returns $0.710276$ using my parametrization, so perhaps there is a mistake (either with my parametrization, the answer in the book, or the question in the book).