document.write( "Question 548404: I have an astronomy program that provides information on known comets. They provide only two pieces of information: Perhelion and eccentricity.\r
\n" ); document.write( "\n" ); document.write( " I have gone through a number of books and web pages both for astronomy problems and math problems trying to find out how to find out the length of the major axis.\r
\n" ); document.write( "\n" ); document.write( "I am not very good at working with advanced math (though I have studied some that I needed to use). Please help me with this. Thank you
\n" ); document.write( "

Algebra.Com's Answer #356974 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
I have an astronomy program that provides information on known comets. They provide only two pieces of information: Perhelion and eccentricity.\r
\n" ); document.write( "\n" ); document.write( " I have gone through a number of books and web pages both for astronomy problems and math problems trying to find out how to find out the length of the major axis.
\n" ); document.write( "------------------
\n" ); document.write( "The perihelion is the distance from one of the foci to the intersection of the ellipse its major axis.
\n" ); document.write( "The distance from the center to the focus is a*e, where a = 1/2 the major axis and e is the eccentricity.
\n" ); document.write( "--------
\n" ); document.write( "The perihelion, p = the distance from the focus to a, p = a - f
\n" ); document.write( "----------------
\n" ); document.write( "f = a*e
\n" ); document.write( "p = a-f --> a = p+f
\n" ); document.write( "a = p + a*e
\n" ); document.write( "a - a*e = p
\n" ); document.write( "a(1 - e) = p
\n" ); document.write( "a = p/(1 - e)
\n" ); document.write( "-------------
\n" ); document.write( "major axis = 2p/(1 - e)
\n" ); document.write( "That what you're looking for?
\n" ); document.write( "-----------------------------
\n" ); document.write( "PS Did you see the comet whose perihelion was only 120000 km from the Sun's surface?
\n" ); document.write( "Comet Lovejoy.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );