View Single Post
  #25 (permalink)  
Old Mon Jun 18, 2007, 10:55am
Dan_ref Dan_ref is offline
Official Forum Member
 
Join Date: Sep 2000
Location: Just north of hell
Posts: 9,250
Send a message via AIM to Dan_ref
Quote:
Originally Posted by Scrapper1
What's x so that 2^x yields an answer ending in 0? There isn't any!
The first of the infinite values of x occurs at 2^x = 10 for values of x > 1.

Use

log2(n) = log(n)/log(2)
= log(n)/0.30103 (approximate to 5 decimal places)
= log(n) x 3.32192

Solving 2^x = 10

log2(10) = log(10) x 3.32192

or x = 3.32192

As I said this is the first of the infinite number of x values satisfying your condition.
Reply With Quote