• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help with Logarithms

GambiT

Golden Member
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.
 
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.
 
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.
 
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
 
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 😕
 
Back
Top