Question

In: Computer Science

Prove that every real number with a terminating binary representation (finite number

Prove that every real number with a terminating binary representation (finite number of digits to the right of the binary point) also has a terminating decimal representation (finite number of digits to the right of the decimal point).

 

Solutions

Expert Solution

Real number with terminating binary representation also has terminating decimal representation:

 

Consider a fraction p/q has value all 0’s after some places in binary representation.

 

Represent p/q with numerical value as follows.

 

Here, k has some finite value.

 

Consider the value of p and q.

 

 

To prove the condition, consider any integer with power of k.

 

Consider an integer 5k. Multiply and divide the term p/q with 5k.

 

 

Substitute 2k for q.

 

To get the fraction value of p/q, the value of (5k)p is always less than (10k).

 

Therefore, in general for any proper fraction with finite decimal expansion can be represented as q/10k, with consideration of q is divisible by 5k.

 

For example if q is taken as value 5k, then

 

Therefore, real number with terminating binary representation also has terminating decimal representation.


Therefore, real number with terminating binary representation also has terminating decimal representation.

 

Related Solutions

Prove that every nontrivial finite group has a composition series
Prove that every nontrivial finite group has a composition series
Prove that the product of a finite number of compact spaces is compact.
Prove that the product of a finite number of compact spaces is compact.
Prove that every open cover has a finite subcover implies that every sequence in S has...
Prove that every open cover has a finite subcover implies that every sequence in S has a subsequence converging to a point of S
. Let Π be a finite incidence geometry. Prove that, if every line in Π has...
. Let Π be a finite incidence geometry. Prove that, if every line in Π has exactly n points and every point in Π lies on exactly n + 1 lines, then Π is an affine plane. Come up with a similar criterion for finite geometries satisfying (EP) (those geometries are called projective planes).
Prove that every finite integral domain is a field. Give an example of an integral domain...
Prove that every finite integral domain is a field. Give an example of an integral domain which is not a field. Please show all steps of the proof. Thank you!!
Prove that every natural number is odd or even.
Prove that every natural number is odd or even.
Prove that Z/nZ is a group under the binary operator "+" for every n in positive...
Prove that Z/nZ is a group under the binary operator "+" for every n in positive Z, where Z is the set of integers.
a tree is binary, if every node has at most two children nodes. prove that the...
a tree is binary, if every node has at most two children nodes. prove that the maximum of nodes in a binary tree of height h is 2^(h+1)-1
Show the IEE 754 binary representation of the number 0.625 in: a. single precision. After you...
Show the IEE 754 binary representation of the number 0.625 in: a. single precision. After you show the calculations, create a table with 2 rows and 32 columns to show the binary representation of the number. b. double precision. After you show the calculations, create a table with 3 rows and 32 columns to show the binary representation of the number.
Prove If C is a binary self-dual  code, show that every codeword has even weight. Furthermore, prove...
Prove If C is a binary self-dual  code, show that every codeword has even weight. Furthermore, prove if each row of the generator matrix of C has weight divisible by 4, then so does every codeword.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT