Help with Logarithms

GambiT

Golden Member
Oct 13, 1999
1,195
0
0
I have an algorithms class and they're bringing in logarithms. I can't remember how to solve for them. I've gotten a couple of books on Algebra II but I'm not getting it.

Looking to solve for n:
8n^2 = 64n Log n

The Log is base 2. Any help is appreciated.
 

DarkForceRising

Senior member
Apr 16, 2005
407
0
71
divide through by 64n. raise everything to an exponent of 2. so 2^(8n^2/64n) = 2^(log n) = n.

I believe that's correct. For instance, e^(ln x) = x.
 

esun

Platinum Member
Nov 12, 2001
2,214
0
0
Generally, when solving a logarithmic equation with a linear term (i.e. the equation contains x and log(x)), if you can re-arrange the formula to get something in the form of x = A * log(x), where A is some constant, you can solve the problem via iteration. Iteration means you plug in a guess to the right side of the equation (containing log(x)), then compute a new value for x. Repeat until the solution converges to a particular accuracy.
 

Apathetic

Platinum Member
Dec 23, 2002
2,587
6
81
Since this is probably a computer science class you're taking, just remember that the instructor is probably talking about log base 2 and not base 10.

Dave
 

jman19

Lifer
Nov 3, 2000
11,225
664
126
Originally posted by: Apathetic
Since this is probably a computer science class you're taking, just remember that the instructor is probably talking about log base 2 and not base 10.

Dave

Um, he said that in the OP :confused: