In: Computer Science
Problem: Convert the following binary number to decimal.
1. 110101.101
Problem: Convert the following decimal number to fractional binary
representation.
1. 103.5625
Answer 1 -
Binary number to decimal.
110101.101 -
⇒
⇒
⇒
⇒
Answer 2 -
decimal number to fractional binary representation —
103.5625-
Firstly Convert the integral part and need to divide decimal number 103 by 2 and store remainders.
103 = 1100111(Integer part from top to bottom)
Now, second rules are convert fraction part, multiply the fractional decimal .5625 by 2 and collect the integral part.
⇒
⇒
⇒
⇒
⇒(Integer part from top to bottom)
So the value -
Note- Please do upvote, if any problem then comment in
box sure I will help.