Exercicio em c
Por: Anderson Cesar Dias • 25/4/2015 • Ensaio • 424 Palavras (2 Páginas) • 190 Visualizações
Leandro Rolim Machado RA: 8484196543. 3º Semestre
103457669 ->base 32
103457669 /32
5 3233052 /32
28 101032 /32
8 3157 /32
21 98 /32
2 3
103457669 ->base 32 = 32L8S5
32L8S5 32 -> decimal
32L8S5 = 3 |2 |21| 8| 28| 5
5*(32^0)+28*(32^1)+8*(32^2)+21*(32^3)+2*(32^4)+3*(32^5)
32L8S5 32 = 103457669
103457669 -> base 9
103457669 /9
5
11495296/9 |
1 |
1277255/9 |
2 |
141917/9 |
5 |
15768/9 |
0 |
1752/9 |
6 |
194/9 |
5 |
21/9 |
3 |
2 |
103457669 -> base 9 = 235605215
2356052159 -> Decimal
=5(9^0)+1(9^1)+2(9^2)+5(9^3)+0(9^4)+6(9^5)+5(9^6)+3(9^7)+2(9^8)
=103457669
103457669 -> base 15
103457669 /15 14 |
6897177 /15 12 |
459811 /15 1 |
30654 /15 9 |
2043 /15 |
3 136 /15 1 |
9 |
=9139|12|14| = 91391CE
91391|C|E|15 -> decimal
9139|12|14| = 14(15^0)+12(15^1)+1(15^2)+9(15^3)+3(15^4)+1(15^5)+9(15^6)
=103457669
91391CE15 =103457669
103457669 -> binário
Inteiro resto
103457669 | 1 | |||
51728834 | 0 | |||
25864417 | 1 | |||
12932208 | 0 | |||
6466104 | 0 | |||
3233052 | 0 | |||
1616526 | 0 | |||
808263 | 1 | |||
404131 | 1 | |||
202065 | 1 | |||
101032 | 0 | |||
50516 | 0 | |||
25258 | 0 | |||
12629 | 1 | |||
6314 | 0 | |||
3157 | 1 | |||
1578 | 0 | |||
789 | 1 | |||
394 | 0 | |||
197 | 1 | |||
98 | 0 | |||
49 | 1 | |||
24 | 0 | |||
12 | 0 | |||
6 | 0 | |||
3 | 1 | |||
1 | ||||
103457669 -> 110001010101010001110000101b
110001010101010001110000101b -> Decimal
=1(2^26) +1(2^25)+ 0(2^24)+ 0(2^23) +0(2^22)+ 1(2^21) +0(2^20)+ 1(2^19)+ 0(2^18)+ 1(2^17)+ 0(2^16) +1(2^15)+ 0(2^14)+ 1(2^13)+ 0(2^12)+ 0(2^11)+ 0(2^10)+ 1(2^9)+ 1(2^8)+ 1(2^7)+ 0(2^6)+ 0(2^5)+ 0(2^4)+ 0(2^3)+ 1(2^2)+ 0(2^1)+ 1(2^0)
=103457669
110001010101010001110000101b = 103457669
...