Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Question regarding digits in base 2

  1. Jun 1, 2012 #1
    Suppose we have a decimal string in base 2 (ex: 0.10111000...) then are there any of these that equal the same number in [0, 1]? I was never formally introduced to anything like this, yet I'm being asked questions involving base 2, base 3, etc. If someone could answer this, it would help me solve a problem involving such a fact.
     
  2. jcsd
  3. Jun 1, 2012 #2
    Perhaps, you want to know how to change base from 2 to decimal?

    http://mathbits.com/mathbits/compsci/Introduction/frombase10.htm [Broken]

    http://www.mathpath.org/concepts/Num/frac.htm

    From that, can you conclude whether they can be same??
     
    Last edited by a moderator: May 6, 2017
  4. Jun 1, 2012 #3

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    Just as, in base 10, 0.9999...= 1 so, in base 2, 0.11111...= 1.

    Similarly, in base 10, 0.49999...= 0.5 and, in base 2, 0.0111...= 0.1 and so forth.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Question regarding digits in base 2
  1. Mth digit of 2^n (Replies: 10)

  2. Base 2 trouble (Replies: 11)

Loading...