I want to calculate the area of a sector of an ellipse. However the sector does not include the center of the ellipse as shown in the following image
Here a,b are the minor and major axes,$\theta $ is given and h corresponds to the frame of reference of calculation of the integral which is denoted by the shaded area.
I have calculated the area as
$$\frac{1}{2}\int_{\alpha}^{\theta+\alpha}a^2cos^2(\phi )+(h-b(1+sin(\phi )))^2 d\phi$$ where $\alpha = sin^{-1}(\frac{h-b}{b})$ and $\theta$ is constant.
Is this the correct answer? Thanks in advance .
Edit: So I calculated the integral and it came out to be $$-\dfrac{\left(b^2-a^2\right)\sin\left(2\sin^{-1}\left(\frac{h-b}{b}\right)+2\theta\right)+\left(8b^2-8bh\right)\cos\left(\sin^{-1}\left(\frac{h-b}{b}\right)+\theta\right)+\left(a^2-b^2\right)\sin\left(2\sin^{-1}\left(\frac{h-b}{b}\right)\right)+\left(8h-8b\right)\sqrt{2bh-h^2}-4(\theta)h^2+8b(\theta)h+\left(-6b^2-2a^2\right)\theta}{8}$$
Here is my problem:If i plug h=b (or $\alpha$=0) and $\theta$ = $\frac{\pi}{2}$ then obviously the answer should be $\frac{\pi ab}{4}$.But the above integral does not return the same output.
Have I formulated the integral incorrectly or is the solution erroneous.Thanks.