Re: orbits...

new topic     » goto parent     » topic index » view thread      » older message » newer message

first, i made an error in my formula, it should be:

(x-a)^2 + (y-b)^2 = r^2

Carl R. White wrote:

> y = sqrt(r*r - power(x+a, 2)) - b ?
>
> what if (x + a) > r?  /me rubs head.

alright, here goes.  the above function describes a series of points using
pythagoras' theorem, where x-a and y-b are the length of the legs and r is the
length of the hypotenuse.  I haven't actually tested it numerically, but it
would seem that the length of r (and therefore r*r) would always be greater
than the length of a leg (x-a, or (x-a)^2).

I think.  I don't remember fer sure...it's been awhile.

snortboy

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu