A solid of a uniform cross-section of right-angled isosceles triangles perpendicular to the $x$-axis has a base $x^2 + y^2 = 16$. Solve for the volume.
Let $\theta$ be the angle between the $x$-axis and the radii of a circle for $0 \leq \theta \leq \frac{\pi}{2}$. The hypotenuse of the right-angled triangles is $8\sin \theta$. As the relation between a hypotenuse and area of a right-angled isosceles triangle is $\frac{\text{Hyp}^2}{4}$, the area of a single triangle is $16\sin^2 \theta$. As the solid is symmetric, we integrate over the domain and multiply the answer by 2.
\begin{align*} &\quad\quad 2\int_0^\frac{\pi}{2}16\sin^2 \theta \quad d\theta\\ &= 32\int_0^\frac{\pi}{2}\frac{1}{2}-\frac{1}{2}\cos 2\theta \quad d\theta\\ &=32\left[\frac{1}{2}\theta - \frac{1}{4}\sin 2\theta \right]_0^\frac{\pi}{2}\\ &= 8\pi \end{align*}
However, this answer is incorrect as when one uses the more conventional method to solve:
Let the hypotenuse of one of the triangles be $2y$. Then the area is $y^2$. \begin{align*} Volume &= \int_{-4}^4y^2dx\\ &= \int_{-4}^416-x^2dx\\ &= \left[16x-\frac{1}{3}x^3\right]_{-4}^4\\ &= \frac{256}{3} \end{align*}
which appears to be the correct answer. I'm curious as to why my alternative method doesn't work.