document.write( "Question 773909: I am trying to convert 2^X=Y (2 to the X power)so that X is on one side of the equation. Even if we know what Y is, I cant for the life of me figure out how to get the unknown rational decimal exponent on one side of the equation.\r
\n" ); document.write( "\n" ); document.write( "I am trying to make a formula for my spreadsheet that will take in the number of lottery tickets I buy (Y) and figure out to what the exact odds are that I would win.\r
\n" ); document.write( "\n" ); document.write( "Example: Odds with 1 ticket are 1:1,000,000, so 2 tickets are 1:500,000, 4 tickets are 1:250,000 and 8 tickets are 1:125,000 and so on.\r
\n" ); document.write( "\n" ); document.write( "I am trying to figure out a formula so I can enter in 40 tickets and the formula gives me the 2^X power value and then I use that X value to manipulate the odds to see what the odds are for said Y tickets.\r
\n" ); document.write( "\n" ); document.write( "Am barking up the wrong tree with decimal exponents? Should I be looking in Statistics or something? please help me get in the right direction. Thank you.\r
\n" ); document.write( "\n" ); document.write( "Patrick Barry
\n" ); document.write( "

Algebra.Com's Answer #471919 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
It sounds like you want to solve 2^x = 40 for x\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If so, then \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "2^x = 40\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "log(2^x) = log(40) ... apply the log function to both sides\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x*log(2) = log(40)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = log(40)/log(2)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = 5.32192809488737 ... use a calculator to evaluate\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let me know if this is what you're looking for
\n" ); document.write( "
\n" );