Question: Problem A - 2 : Number base conversions II Converting numbers with fractional parts to another base To convert the integer part, use the same
Problem A: Number base conversions II
Converting numbers with fractional parts to another base
To convert the integer part, use the same approach successive division as seen before: Take the integer value and divide by the radix keep going until the quotient reaches zero.
To convert the fractional part, the approach is similar, but we use successive multiplication. Start with the fractional part and multiply by the radix You get the integer part of this value is the first digit of the fractional part of the binary value in this case Now, take the fractional part and use that for the next step in the successive multiplication. The process continues until the fractional part reaches zero.
a Express in binary.
b Express in binary.
c You'll notice that in part b the fractional part in decimal does not convert nicely to a binary value. If we seek a particular precision, how do we know when to stop? Let's assume that there is an uncertainty of in the last digit of the original number; ie the value we want to convert is in base Thus, we want to find out how many digits we need in the fractional part of the converted binary value so that it is at least as precise as the original value. Putting it all together, we need to satisfy the condition:
precision uncertainty in converted valueprecision uncertainty in original value
since there was one digit in the fractional part of the original number and will be the number of digits needed in the fractional part of the converted binary answer. With all this in mind, solve for the required which must be an integer to express in binary, to an appropriate precision.
d Express the value FED in decimal, to appropriate precision.
J C Sit ECE Winter LEC B Problem set #
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
