Action and Reaction
JF-Expert Member
- Oct 16, 2021
- 1,539
- 1,582
Sijaelewa hizo Bunary number zinapatikanaje au ni fixed?
mpaka kichwa kinauma!2 divided by 2 gives 1 with remainder 0.
So in a binary number system 2===10
Therefore;
3====11
4====100
5====101
.......and so on...
sawa, jinsi ya kuzicalculate na kuzipata ndo mzki kwanzia ya two, three, four, five .....Hizo ni hesabu
Step 1: Divide the given decimal number by “2”, where it provides the result along with the remainder.sawa, jinsi ya kuzicalculate na kuzipata ndo mzki kwanzia ya two, three, four, five .....
| Dividend | Remainder |
|---|---|
| 2/2 = 1 | 0 |
| 1/2 = 0 | 1 |
Binary maana yake ni namba zilizo na uhusian0 na namba 2 ukianzia na mbili yenyewe; yaanimpaka kichwa kinauma!
Nimekupata! Broo unafundisha mpaka aliyezaliwa jana anaweza elewa!Binary maana yake ni namba zilizo na uhusian0 na namba 2 ukianzia na mbili yenyewe; yaani
uhusiano wa namba 2 na namba 2
uhasiano wa namba 3 na namba 2
uhusiano wa namba 4 na namba 2
.
.
.
uhusiano wa namba 400 na namba 2
.............. na kuendelea
Tunaanza kama hivi
2 gawanya kwa mbili unapata moja na kubaki sifuri (2=====1-0)
.........na kuendelea
7 gawanya kwa mbili; unapata tatu na kubaki 1. Hapa 3 bado tunaweza kuivunja tena kwa kuigawa kwa mbili kwa sababu bado ni kubwa kuliko mbili
...unafanya tena 3 gawanya kwa mbili, unapata 1 na kubakiza 1 (1-1)
kwa hiyo 7====111
Bado tu?
alright! katika pita pita zangu nikakutana na Binary namba et computer hutumia binary namba, so nilitaka kujua inatafsiri vipi. Ee bwana siikanizingua... computer enginees mpo!Step 1: Divide the given decimal number by “2”, where it provides the result along with the remainder.
Step 2: If the given decimal number is even, then the result will be a whole number, and it provides the remainder with “0.”
Step 3: If the given decimal number is odd, then the result is not appropriately divided, and it provides the remainder with “1”.
Step 4: By placing all the remainders in order in such a way, the Least Significant Bit (LSB) at the top and Most Significant Bit (MSB) at the bottom, the required binary number will be obtained.
Example;
How to Convert 2 in Binary?
Step 1: Divide 2 by 2. Use the integer quotient obtained in this step as the dividend for the next step. Repeat the process until the quotient becomes 0.
Step 2: Write the remainder from bottom to top i.e. in the reverse chronological order. This will give the binary equivalent of 2.
Dividend Remainder 2/2 = 1 0 1/2 = 0 1
Therefore, the binary equivalent of decimal number 2 is 10.
Swali lako ni general binary maths...alright! katika pita pita zangu nikakutana na Binary namba et computer hutumia binary namba, so nilitaka kujua inatafsiri vipi. Ee bwana siikanizingua... computer enginees mpo!