Efectuati calculele si apoi scrieti rezultatul in baza 2:
a) 340 + 10
b) 2⁵+2³+2²
c)2⁴+2²+1
Dau coroana, 5 steluța si inimioara!!! Va rog!!!
Răspunsuri la întrebare
a) 340 + 10 = 350
350 : 2 = 175 rest 0
175 : 2 = 87 rest 1
87 : 2 = 43 rest 1
43 : 2 = 21 rest 1
21 : 2 = 10 rest 1
10 : 2 = 5 rest 0
5 : 2 = 2 rest 1
2 : 2 = 1 rest 0
1 : 2 = 0 rest 1 ↑
citim resturile de jos in sus si avem :
350(10) = 101011110(2)
b) 2⁵ + 2³ + 2² =
= 32 + 8 + 4
= 44
44 : 2 = 22 rest 0
22 : 2 = 11 rest 0
11 : 2 = 5 rest 1
5 : 2 = 2 rest 1
2 : 2 = 1 rest 0
1 : 2 = 0 rest 1 ↑
citim resturile de jos in sus si avem :
44(10) = 101100(2)
c) 2⁴ + 2² + 1 =
= 16 + 4 + 1
= 21
21 : 2 = 10 rest 1
10 : 2 = 5 rest 0
5 : 2 = 2 rest 1
2 : 2 = 1 rest 0
1 : 2 = 0 rest 1 ↑
citim resturile de jos in sus si avem :
21(10) = 10101(2)
Răspuns:
a)340+19=350
b)2^5-1+2^2+2^2=2^4+2^2+2^2=16+4+4=24
c)2^4+2^2+1=16+4+1=21
a)350:2=176 rest0,176:2=88 rest0,88:2=44rest0,44÷2=22 rest0,22:2=11 rest0,11:2=5rest1,5:2=2 rest1,2:2=1rest0,1:2=0rest1 numărul (se citeste de la rest de jos in sus 101100000
b)24:2=12rest0,212:2=6 rest0,6:2=3 rest0,3:2=1rest0,1 :2=0 rest1 Nr 10000
C)21:2=10 rest1,10:2=5rest0,5:2=2rest1,2:2=1rest0,1:2=0rest 1 Nr 10101