A semi-circle around the origin, with radius $r$, is given by $$f(x) = \sqrt{r^2 - x^2}$$ The area of this semi-circle can be written as $$\int_{-r}^r \sqrt{r^2 - x^2} dx = \frac{\pi r^2}{2}$$ How do I find only a slice of this area, i.e. $$\int_a^b \sqrt{r^2 - x^2} dx$$ for $-r \le a < b \le r$?
There's probably a geometric approach to this, but I'm kinda stuck. If it's easier to calculate a slice of the area of a full circle that's also fine.

Take $x = r\sin\theta$ so that $r^{2}-x^{2}$ becomes $r^{2}(1-\sin^{2}\theta) = r^{2}\cos^{2}\theta$ and $\sqrt{r^{2}-x^{2}}$ becomes $r\sin\theta$. Now, with this change of variable, one have $dx \to r\cos\theta d\theta$ and, thus: $$\int_{a}^{b}\sqrt{r^{2}-x^{2}}dx = \int_{\sin^{-1}(a/r)}^{\sin^{-1}(b/r)}r^{2}\cos^{2}\theta d\theta = r^{2}\bigg{(}\frac{1}{2}\theta+\frac{1}{4}\sin2\theta\bigg{)}\bigg{|}_{\sin^{-1}(a/r)}^{\sin^{-1}(b/r)}$$