Convert number system (part 01)

in steemiteducation •  7 years ago 

20170811184105.jpg

Today I will teach you how to convert number?

There are four types of number system as
Decimal number(Base number 10),Binary number(Base number 2), Octal number (Base number 8),
Hexadecimal number (Base number 16).
Among them only the decimal number which base is 10 can understand people.
and other system is hard to verify .
Now came to the point.

$$ Decimal & Binary $$


Decimal to Binary


To convert a decimal number first chack is this Full or fraction?
if finite follow the system.
To convert a finite decimal number divide again and again by 2 unless it became zero.
See the photos to understand.

1.jpg



If the number is fraction. fillow the rules..
To convert fraction number Multiple again and again by 2 unless it became zero in fraction part.
see the photos to understand.


4.JPG

Binary to Decimal


To convert Binary number into a decimal number ,you need to know the local value of number.
First count the binary number then set the local value..
The local value will be the power of the binary base 2.
Then by adding all value can make a decimal number.
see below to clear.

3.jpg


$$ Decimal & Octal $$


Decimal to Octal


To convert decimal number into octal number as like first
chack that what type number this.full or fraction?
If Full ,follow the rules..
To convert full number into octal divide again and again
by 8 unless it became zero.For understand clearly see the photos.


5.jpg

If the number fraction ,then multiple again and again by 8 unless it became 0.
The last share is the Most significant bit and the first share is the Least significant bit.see the photos to understand.

2.jpg


Octal to Decimal


As like binary in this section you also need to set the local value.
which will be the power of the octal base 8.to understand see below;;

9.jpg

$$ Decimal & Hexa decimal $$


Decimal to Hexa decimal


As like before ,If the number is finite.
Divide the number again and again by the base number of hexa decimal which is 16
unless it became zero.

8.jpg


If the number is fraction. then multiple again and again by 16 unless it became zero.
See the photos for clear.


7.jpg

Hexa decimal to Decimal


As like before first count digit number to set the local value.
And then the local value will be the power of the base of hexadecimal.
By adding all value can make decimal number.


6.jpg

Here is source to recharge your knowledge.

Decimal system Binary system Octal system Hexadecimal system
0 0 0 0
1 1 1 1
2 10 2 2
3 11 3 3
4 100 4 4
5 101 5 5
6 110 6 6
7 111 7 7
8 1000 10 8
9 1001 11 9
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
15 1111 17 F
16 10000 20 10
16 10001 21 11
If you like the post i will published the second part.
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hi. I am a volunteer bot for @resteembot that upvoted you.
Your post was chosen at random, as part of the advertisment campaign for @resteembot.
@resteembot is meant to help minnows get noticed by re-steeming their posts


To use the bot, one must follow it for at least 3 hours, and then make a transaction where the memo is the url of the post.
If you want to learn more - read the introduction post of @resteembot.
If you want help spread the word - read the advertisment program post.


Steem ON!

Good

Good post

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by masudrana from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews/crimsonclad, and netuoso. The goal is to help Steemit grow by supporting Minnows and creating a social network. Please find us in the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.