[MATH] Really complicated stuff. menu

Shout-Out

User Tag List

Results 1 to 9 of 9
  1. #1
    insignia96's Avatar Banned
    Reputation
    33
    Join Date
    Oct 2008
    Posts
    304
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [MATH] Really complicated stuff.

    Okay,

    First off, i am a math n00b. I dont have a degree in math and dont know any math beyond pre-algebra. I am an advanced math student, but i dont understand what i need to do. I have googled it and read alot of stuff, but i need someone to help me with this.

    I am making a 3D model of the solar system in AutoIt with a 3D plugin. I need an elliptical orbit around the sun for most (all) of the planets. I need a function to calculate the elliptical orbits. I know tha at the minimum Earth is 0.98 AU from the sun and at maximum it is 1.02 AU away. Is there any way to accomplish an equation(s) that i can put those two values and have the result be the radius for a circular orbit so it appears elliptical.

    Please tell me if you need more info to help me.
    Last edited by insignia96; 07-16-2009 at 09:32 PM.

    [MATH] Really complicated stuff.
  2. #2
    nothinglol's Avatar Contributor
    Reputation
    166
    Join Date
    Mar 2009
    Posts
    769
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i don't feel like writing math.

    so i'll direct you to something that may (or may not) be what you are looking for

    Elliptical Orbits

    EDIT: think I found it, check below
    Last edited by nothinglol; 07-16-2009 at 08:50 PM.

  3. #3
    andykh's Avatar Contributor
    Reputation
    128
    Join Date
    Dec 2007
    Posts
    302
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Never say your real age on the interwebz.

    inb4pedobear


  4. #4
    nothinglol's Avatar Contributor
    Reputation
    166
    Join Date
    Mar 2009
    Posts
    769
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    got it now I beleive!

    in, for example, this

    You already have the measurements, and so you should apply the major axis variable A (1.02 AU) and the minor axis variable B (.98 AU)

    you can then calculate the eccintricity (how much it flattens) using the equation:

    b^2=a^2(1-e^2)

    EDIT: forgot to mention, I won't do the math for you

    EDIT EDIT: That is assuming that the sun is exactly centered. I think for what you are doing that is alright, but if you're that bright young student shouldn't you shoot for astronomically correct?

    Give me one minute and I'll add some MORE math hehe

    EDIT EDIT EDIT: well would you look at that, this site *should* also tell you some stuff to check out

    http://spiff.rit.edu/classes/phys440...e/ellipse.html
    Last edited by nothinglol; 07-16-2009 at 08:54 PM.

  5. #5
    insignia96's Avatar Banned
    Reputation
    33
    Join Date
    Oct 2008
    Posts
    304
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Will study this later and post back. This looks right though.

  6. #6
    magnajohn622's Avatar Member
    Reputation
    9
    Join Date
    Feb 2008
    Posts
    52
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is more of a physics question than a math question. Get a pencil and paper out because you probably will need to visualize most of this stuff.

    Basically, an ellipse has 2 focal points, both on the major axis of the ellipse (the longer axis). Looking at the sun/planet relationship, the sun is one of these focal points. There is no physical second focal point. Now, if you take any point on an ellipse and measure the distance from each focal point (call them r1 and r2), r1 + r2 is constant (call it K). K is also equal to the major axis, which is also the sum of the closest distance to one focal point plus the furthest distance from that same focal point. In this case, K=2. One of the other rules of an ellipse is that the 2 focal points are equidistant from the center of the ellipse. To find the location of the focal points is simple.

    If r1 is the distance from a point on the ellipse to the sun, and r2 is to the other focal point, then:

    K=r1+r2
    2=r1+r2

    At the closest point to the sun:

    2=.98+r2
    r2=1.02

    So since the major axis = 2, the center of that axis = 1, and we can say that each foci is .02 AU away from the center.

    So now we know where each focus is.

    Now we need an equation for the x,y coordinates of all the points on an ellipse.

    Let f be the distance from the center to either focal point. Let r1 be the distance from one focal point to a point on the ellipse x,y. Let r2 be the distance from the other focal point. Using some trigonometry, we can say that:

    (x+f)^2 + y^2 = r1^2
    sqrt((x+f)^2 + y^2) = r1
    and
    (x-f)^2 + y^2 = r2^2
    sqrt((x-f)^2 + y^2) = r2

    We know that r1 + r2 = the major axis, a, so:

    sqrt((x+f)^2 + y^2) + sqrt((x-f)^2 + y^2) = 2a

    Now simplify to get rid of one of the sqrt functions, and we get (i'm skipping a lot of steps here, so you probably want to work this out for yourself):

    sqrt((x-f)^2 + y^2) = a - (f/a)x

    Now square both sides to simplify, and it comes out to be (again, i'm skipping a lot of steps):

    1 = (x^2/a^2) + (y^2/((a^2)-(f^2)))

    and

    x = a*sqrt(1 - (y^2/((a^2)-(f^2))))
    and
    y = sqrt((1 - (x^2/a^2))*(a^2 - f^2))

    The above are the functions that you need to use.

    And that's it. It looks a lot cleaner on paper. I'm not a programmer though, so i wouldn't know how to write a program to draw one for you but that's the function. I'm pretty sure that's all correct, but if anyone catches an error let me know.

    EDIT: I just remembered something, i think this can be simplified further. There's a way to simplify it to show that a^2 - f^2 = b , where b is the minor axis I don't remember how to show this but you can substitute that into the equation.
    Last edited by magnajohn622; 07-16-2009 at 10:04 PM.
    Looking for a free US CD key if anyone can help me, i'll give you back the account, just want to RAF level it.

  7. #7
    insignia96's Avatar Banned
    Reputation
    33
    Join Date
    Oct 2008
    Posts
    304
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think when i am less tired teh maths i have got now should be able to calculate what i need to know.

  8. #8
    Hellgawd's Avatar Member
    Reputation
    710
    Join Date
    Jun 2007
    Posts
    2,480
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Failure, indeed.

  9. #9
    ReidE96's Avatar Archer Authenticator enabled
    Reputation
    470
    Join Date
    Dec 2006
    Posts
    1,625
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here I thought I could forget all that stuff from FP3. Oh well. If you still need help, I'll dig out the formulae I memorised long enough for the exam and start throwing stuff at you.

Similar Threads

  1. [Buying] Really nice d3 acc with own mail and stuff
    By badrharibadboy in forum Diablo 3 Buy Sell Trade
    Replies: 0
    Last Post: 02-03-2014, 02:48 AM
  2. [Selling] EU - L39 Rogue - Really cool stuff + patron + Storm Legion (look inside)
    By chetii in forum Rift Buy Sell Trade
    Replies: 6
    Last Post: 08-28-2013, 08:25 PM
  3. really need lke a level hack
    By mr_()gr()n in forum World of Warcraft General
    Replies: 5
    Last Post: 04-17-2006, 05:23 AM
  4. ALSO what or what is syndrom really usefull for?
    By case in forum World of Warcraft General
    Replies: 2
    Last Post: 03-20-2006, 11:00 PM
  5. less complicated?
    By JesseG18 in forum World of Warcraft General
    Replies: 7
    Last Post: 03-15-2006, 02:47 AM
All times are GMT -5. The time now is 10:36 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search