Professional Documents
Culture Documents
By Nasir Mahmood
nasir.mahmood@seecs.edu.pk
nasirm15@gmail.com 1
Conversion between
Number Systems
Base r to Decimal
Conversion
• The conversion of a number in base r to
decimal is done by expanding the number in
a power series and adding all the terms
(4021.2)5 = ?
(4021.2)5 = 4x53 + 0x52 + 2x51 + 1x50 + 2x5-1
= (511.4)10
Decimal to Base r
Conversion
Convert Decimal 57.625 to
Binary
(57)10 = (111001)2
Decimal to Base r
Conversion Contd..
Convert Decimal 57.625 to
Binary
(0.625)10 = (0.101)2
(57.625)10 = (111001.101)2
Conversion Between two Bases