Tag 06

Reading time ~1 minute

Aufgabe 1

Vorbetrachtung:

0101 = 5
+ 1101 = 13
11 1
------
10010 = 18

a)

ü_4 = g_3 OR p_3 g_2 OR p_3 p_2 g_1 OR p_3 p_2 p_1 g_0 OR p_3 p_2 p_1 p_0 ü_0

b)

a = 0101
b = 1101

g = 0101
p = 1000

c)

ü_i+1 = g_i OR p_i AND ü_i

ü_1 = 0
ü_2 = 1 OR 0 AND 0 = 1
ü_3 = 0 OR 0 AND 1 = 0
ü_4 = 1 OR 0 AND 0 = 1
ü_5 = 0 OR 1 AND 1 = 1