There are many methods , the choice depends on what you know about it .

we have

or parametric form :

Make as the subject , we have

and

Therefore ,

But indicates the length of the semi-ellipse but not the whole ellipse , for the whole ellipse you need to multiply by .