Re: orbits...

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

On Fri, 25 Sep 1998, Noah Smith wrote:

> The radial distance of a body to another can be given by:
>
> (x+a)^2 + (y+b)^2 = r^2
[snip]
> solve for y.
>
> increment x and watch it go!

y = sqrt(r*r - power(x+a, 2)) - b ?

what if (x + a) > r?  /me rubs head.

--
Carl R White
E-mail...: cyrek- at -bigfoot.com -- Remove the hyphens before mailing. Ta :)
Url......: http://www.bigfoot.com/~cyrek/
"Ykk rnyllaqur rgiokc cea nyemdok ymc giququezka caysgr." - B.Q.Vgesa

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

Search



Quick Links

User menu

Not signed in.

Misc Menu