View Single Post
Old Jul 25th, 2005, 7:23 PM   #3
EverLearning
Hobbyist Programmer
 
EverLearning's Avatar
 
Join Date: May 2005
Location: Indiana
Posts: 130
Rep Power: 4 EverLearning is on a distinguished road
If I understand your question, you are looking for equation of a circle, it's:
x^2 + y^2 = r^2 in most common form (0,0) being the center, r -radius.
Solving for y will give you +- value, since f(x) = x^2, f(x) >= 0 for all x.
If the center is shifted from the origin:
(x-a)^2 + (y-b)^2 = r^2
where a and b are (x,y) coordinates of the center of the circle, respectively.

ps: sorry there, firefox acting out on me
__________________
got math? yumm...

"All men by nature desire to know" -Aristotle, Metaphysics
EverLearning is offline   Reply With Quote