Slashdot Mirror


The Mathematics of a Trip to Mars?

hakonhaugnes wonders: "Since trips to Mars seems commonplace (NASA has sent one every 26 months), I thought it made sense to try to understand how the interplanetary trajectory is calculated. NASA's page is deploringly void of intricate details. I found this excellent page, but it still left me feeling that I was missing something. Surely the calculus must go beyond two bodies (mars/earth)? (It seems there are commercial MATLAB scripts available but at $150 it went beyond the defensible to satisfy my curiosity). Are there any curious Slashdot readers with the usual great insight into how to calculate a trip to Mars?"

32 of 373 comments (clear)

  1. Extemely Complex Calculations by Shadow+Wrought · · Score: 4, Funny

    What with all the epicycles and all;-)

    --
    If brevity is the soul of wit, then how does one explain Twitter?
    1. Re:Extemely Complex Calculations by squidfood · · Score: 3, Funny
      What with all the epicycles and all;-)

      You'd think it was rocket science.

    2. Re:Extemely Complex Calculations by Keebler71 · · Score: 3, Funny
      Well, since we are starting off with a joke...

      How do you know if an astrodynamicist is an extrovert?

      He looks at your feet when he talks to you!

      --
      "It takes considerable knowledge just to realize the extent of your own ignorance." - Thomas Sowell
    3. Re:Extemely Complex Calculations by tbischel · · Score: 3, Funny

      Whats so hard about rocket science?
      Pointy end goes up

  2. Why would you expect us to? by aklix · · Score: 4, Funny

    I see more budget cuts have caused NASA to outsource to the open-source

  3. Hmmm. by Anonymous Coward · · Score: 4, Funny

    Try Google maps.

    1. Re:Hmmm. by prell · · Score: 2, Funny

      There may be a day when this is no longer funny! ;-)

  4. method... by timtwobuck · · Score: 2, Funny

    (G*M1*M2) / R^2

    Earth(+moon), Mars, Sun...I think that will get you there, as long as you dodge the moon on your way out

    1. Re:method... by FLAGGR · · Score: 3, Funny

      You want a formula? A formula for the optimal flight path to Mars? Here's one:

      y = (o*u) / (ar^e + an - (i*(d-i)+(o-t)))

      Keep dreaming. It's a complicated thing. You have to factor in the gravity of all the planets, moons, other large bodies and the ship itself. You have to make sure the thing doesn't crash into any asteriods, and it's going to have to make course corrections en route, to avoid things and to stay on track. Maybe the best route is to loop around a planet, and get a speed boost from its gravity. Maybe there isn't enough fuel to do it the fastest way, maybe the timeframe for one route is too small, etc etc etc.

      Sorry to break it to you, but there isn't an equation that spits on a directional vector for you to shoot your rocket at. If you want to play pretend, download some solar system simulator, I'd assume at least one of them has some dinky flight planner thingy.

    2. Re:method... by superpulpsicle · · Score: 3, Funny

      That's the problem. There is no formula that calculates where the foam comes off by itself. Oh that X factor.

    3. Re:method... by B3ryllium · · Score: 2, Funny

      "there isn't an equation that spits on a directional vector"

      I think it would be pretty damn difficult to hit a directional vector with a wad of spit.

  5. Numerical integration by mattjb0010 · · Score: 3, Funny

    Are there any curious Slashdot readers with the usual great insight into how to calculate a trip to Mars?

    Come on, this ain't rocket science, people. Oh, wait...

    1. Re:Numerical integration by ichin4 · · Score: 3, Funny

      I asked a rocket scientist what he said to indicate that something isn't so difficult. He said: I say, "this isn't nuclear physics."

      I asked a nuclear physicist what he said to incicate that something isn't so difficult. He said: I say, "this isn't brain surgery."

      I asked a brain surgeon what he said to indicate that something isn't so difficult. He said: I say, "this isn't rocket science."

  6. What about by SamAdam3d · · Score: 3, Funny

    having the entire Earth jump at the same time?

    I am sure that can get you to Mars. ;)

    --
    I love deadlines. I like the whooshing sound they make as they fly by. - Douglas Adams
  7. The Slashdot "common" by MosesJones · · Score: 3, Funny


    Since trips to Mars seems commonplace (NASA has sent one every 26 months)

    Was I the only one to think... Slashdot... commonplace... once every 2 years....

    "Having Sex is commonplace for me"... the new Slashdot definition of commonplace.

    --
    An Eye for an Eye will make the whole world blind - Gandhi
    1. Re:The Slashdot "common" by banuk · · Score: 2, Funny

      Was I the only one to think... Slashdot... commonplace... once every 2 years....

      only if you're talking dupes and its every 2 hrs

    2. Re:The Slashdot "common" by Average_Joe_Sixpack · · Score: 2, Funny

      Was I the only one to think... Slashdot... commonplace... once every 2 years....

      "Having Sex is commonplace for me"... the new Slashdot definition of commonplace.

       
      Lucky bastard! My sex life can't even be measured in earth time.

    3. Re:The Slashdot "common" by albeit+unknown · · Score: 2, Funny

      Ob Comic Book Guy

      "Inspired by the most logical race in the universe, the Vulcans, breeding will be permitted once every 7 years. For many of you, this will mean much less breeding. For me, much, much more."

  8. easy by colton+cummings · · Score: 4, Funny

    Point it in the general direction, and launch.

    It's like a message in a bottle, but so much cooler.

    --
    XaNk: now I remember why I hated the girls in high school
    XaNk: because none of them would talk to me
  9. Simplifying interplanetary control software by Debian+Troll's+Best · · Score: 3, Funny
    While the actually hardware behind a successful Mars shot is undeniably critical, a similar amount of attention should be paid to human interface factors back at mission control. Mission controllers work long shifts, often without adequate sleep or food, and small mistakes on the ground can be fatal to the brave astronauts travelling through space, or walking on the surface of the Mars. The computer science community has conducted considerable work on human interfaces, but in my mind there is one which stands out above all others as an intuitive, easily understood and easy to use mission control interface: Debian's apt-get.

    Ok ok...I understand some of you will be rolling your eyes at this stage, struggling to understand how on earth a piece of command line software designed for the installation and maintenance of Debian packages could even be remotely applicable to designing a robust mission control interface for missions to the Mars. I will explain. Basically, think of the Earth as a large Debian mirror, equipped with many astronaut 'files'. Imagine the space ship as a .deb package, safely protecting all the astronauts from the harsh vacuum of space. The Mars (or Mars...this solution is cross-platform after all) is your local host. The Sun is...well...that creaky old Sun Ultra 5 from yesterday's OSnews article that no one wants to go close to lest they get burned or flamed by Sun zealots. OK...now how does the system work?

    Basically, a mission controller wants to 'install' a 'package' of astronauts from the Earth 'mirror' onto the Mars 'host'. It's 5am, the mission controller hasn't slept for 3 days, and every command sent from Houston is critical. Enter apt-get. The initial launch command would be something like:

    apt-get install astronauts

    Great! The launch vehicle is on its way! Since the 'link' between the 'mirror' and the 'host' is quite slow (imagine an old school 9600 baud leased line), the 'package' 'download' may take a few days to complete. This is where the mission control staff go to work on getting their Gentoo boxes compiling KDE. When the 'package' is 'downloaded', it's important to check that no astronauts were hurt along the way. The mission controller enters the following command:

    apt-get check

    This wil check for 'broken dependencies'. So far, so good! The '.deb package' will now successfully 'install' onto the 'host', meaning the astronauts can land on the Mars, and perform their critical experiments. However, all good things must come to and end, and the 'package' will need to be removed from the host. Mission control to the rescue.

    apt-get remove astronauts

    Excellent! Tom Hanks, Gary Sinese and that other guy are now on their way home. Again, this is a slow link, so our 'host' may take a few days to remove it from it's 'hard disk'. Once the capsule has landed back on Earth, it will be ready for the next group of astronauts to make their journey. But no-one would want to spend 10 days locked up in a small space filled with cast-off cans of Jolt Cola and empty Penguin Mint containers. The capsule will need to be tidied up! Mission control enters one last command to complete the mission:

    apt-get autoclean

    Done! Another successful Mars shot. Mission control is a breeze with the new apt-get mission control system. No more complicated GUIs, voice recognition or toggle switches. apt-get to infinity and beyond!

    1. Re:Simplifying interplanetary control software by nherm · · Score: 2, Funny

      Now that sarge went stable, we can terraform Mars!!!

      apt-get moo

      Using a "while true; do ... done", Mars will get all those greenhouse emissions we need to raise its temperature.

      Funny stuff.

  10. Re:Why Slashdot Fired Michael by Anonymous Coward · · Score: 1, Funny

    Yeah, but that still doesn't explain what happened to Jon Katz. I suspect he was behind the whole thing.

  11. Mathematics is for Mathematicians by Anonymous Coward · · Score: 5, Funny

    Tired of calculating so many epicycles? That's why we've introduced the Ronco Equant Point!

    The Ronco Equant Point is a pointless mathematical abstraction that gives you that perfect Renaissance instrumentalist astronomical result! Up to 200% more accurate than the other leading brand of Ptolemaic system, the Ronco Equant point will actually reduce the number of epicycles within 20 minutes - or your money back!

    Call now, and receive a *free* video, "Aristotle and You" - learn about the five elements, and find out how to justify your Ronco-enhanced Ptolemaic system in terms of Aristotelian cosmology!

    Look out for more Ronco History of Science products soon, including the "Intelligent Designer's Kit" and the "Ronco Enhanced Bottle-O-Caloric"!

    1. Re:Mathematics is for Mathematicians by IdleTime · · Score: 1, Funny

      Where do I sign up?

      --
      If you mod me down, I *will* introduce you to my sister!
  12. get someone else to foot the bill.. by peculiarmethod · · Score: 2, Funny

    Skip doing all the math and even the funding part by simply doctoring up a few satellite photos and a research paper calculating with near certainty that near limitless petroleum exists on mars, and they are protected by a heathon god.

    sit back and watch all the funds get diverted to a new space program.

    --
    ** "It's not my job to stand between the people talking to me, and the ones listening to me." -- Pego the Jerk
  13. Re:Simple Newtonian by aidan+folkes · · Score: 4, Funny
    But.. three is not analytically solvable. From there, numerics takes over and this is still a very active field of research, still far from perfect. But they're surely good enough :-)

    As long as you don't get your units mixed up. :-)

  14. Re:Trajectory Math by sigmaseven · · Score: 2, Funny

    S'okay, mistakes happen -- thanks for the insight.

    (But you realize if it'd been a feet/meters error, you never would've heard the end of it....)

  15. Re:Trajectory Math by Tumbleweed · · Score: 2, Funny

    Yeah, you might want to recheck that software you wrote for NASA, just in case. :)

  16. Why go to Mars? by Time+Doctor · · Score: 2, Funny

    I see no point, we can open a gate to Hell here on Earth. I assure you the research I've done proves that the risk is perfectly acceptable!

    If you would just increase my funding and personnel there would be fewer accidents.

    --Dr Bertregur.

    --
    Check out ioquake3.org for a great, free, First-Person Shooter engine!
  17. Re:Trip to mars dont seem that "simple" by squidfood · · Score: 4, Funny
    Nasa has probably built a nifty model...

    <cheap shot>
    Here's a line of the code: // TODO: INSERT ENGLISH-METRIC CONVERSION
    </cheap shot>

  18. Re:easy: 4 step program by DaveCar · · Score: 4, Funny

    how to calculate a trip to Mars?

    1) Leave Earth
    2) ???
    3) Arrive Mars
    4) PROFIT!!!

  19. Re:You're not kidding! by pomo+monster · · Score: 2, Funny

    Holy hell, that crater, and the fires up in the mountains all around... wow. Looks like the only reason no one was killed was that the rig was burning for a few minutes before it blew, giving everyone time to run. I'd have loved to have been the guy who first noticed the "danger: explosives" sign going up in flames.

    But the most impressive thing to me is, did they really rebuild that entire stretch of highway, including the railroad tracks, in THIRTY-SIX HOURS?!!? What the fuck! You've gotta send UDOT to New York, there's potholes here on Broadway that haven't been filled for months. I'm almost inclined to believe it's a propaganda tool by that news channel to make Utah look like some, I don't know, freeway utopia.