For part of my Graphical User Interface, I require the ability to draw custom circles. What I need to know is, given an X position of the outside curve of a circle, what equation determines the two Y values?
Please pardon my inexperience in high school math, as I'll need to know the complete equation if possible.
Thankyou in advance.
Edit, I made a circle and these are the co-ordinates for the bottom right curve, where x=0 and y=0 at the bottom most point.
x|y
0|0
1|0
2|1
3|1
4|1
5|2
6|3
7|4
7|5
7|6
8|7
8|8
But I can't exactly find a simple function out of that, at least by my limited methods of solving for quadratics, etc...