Question regarding digits in base 2

  • Thread starter GridironCPJ
  • Start date
  • Tags
    Base
In summary, the conversation revolves around the concept of changing bases from 2 to decimal, and whether decimal strings in base 2 can equal the same number in the range of 0 to 1. The provided links and examples suggest that this is possible, with similarities to the concept of 0.9999... equalling 1 in base 10.
  • #1
GridironCPJ
44
0
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.
 
Mathematics news on Phys.org
  • #2
Perhaps, you want to know how to change base from 2 to decimal?

http://mathbits.com/mathbits/compsci/Introduction/frombase10.htm

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

From that, can you conclude whether they can be same??
 
Last edited by a moderator:
  • #3
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.
 

FAQ: Question regarding digits in base 2

What is base 2?

Base 2, also known as binary, is a system of counting and representing numbers using only two digits: 0 and 1. It is commonly used in computer science and electronics, as it is the basis for digital computing.

How does base 2 differ from the decimal system?

In the decimal system, we use ten digits (0-9) to represent numbers, while in base 2 we only use two digits (0 and 1). Additionally, the value of each digit in base 2 increases by powers of 2, rather than powers of 10 in the decimal system.

How do I convert a number from base 2 to decimal?

To convert a number from base 2 to decimal, you can use the following formula: (dn*2^n) + (dn-1*2^(n-1)) + ... + (d1*2^1) + (d0*2^0), where d is the digit and n is the position of the digit in the number.

Can any number be represented in base 2?

Yes, any number can be represented in base 2, just as it can be represented in any other base. However, the number may have a different representation in base 2 compared to other bases.

Why is base 2 used in computers?

Base 2 is used in computers because digital devices operate using binary signals, which can only have two states (on or off, represented by 0 and 1). By using base 2, computers can easily process and store data in a way that is compatible with their electronic components.

Back
Top