Sendo A = {0,5,10,15,20,30,35); B = (0,1,7,10,15,18,20,25)
C= (10,15,20,30,35,40), calcule e faça a representação na forma de diagrama:
a) A UC
b) BUC
c) AUB
d) C - A
e) A - B
f) (A-B) n C
g) (A-C) U (B-C)
Respostas
Resposta:
Explicação passo a passo:
A = {0,5,10,15,20,30,35)
B = (0,1,7,10,15,18,20,25)
C= (10,15,20,30,35,40)
a) AUC = {0,5,10,15,20,30,35) ∪ (10,15,20,30,35,40) =
{0, 5, 10, 15 , 20, 30, 35, 40)
b) BUC = (0,1,7,10,15,18,20,25) ∪ (10,15,20,30,35,40) =
(0, 1, 7, 10, 15, 18, 20, 25, 30, 35, 40)
c) AUB = {0,5,10,15,20,30,35) ∪ (0,1,7,10,15,18,20,25) =
{0, 1, 5, 7, 10, 15, 18, 20, 25, 30, 35)
d) C - A = (10,15,20,30,35,40) - {0,5,10,15,20,30,35) = {40}
e) A - B = {0,5,10,15,20,30,35) - (0,1,7,10,15,18,20,25) = {5, 30, 35}
f) (A-B) n C = {0,5,10,15,20,30,35) - (0,1,7,10,15,18,20,25) = {5, 30, 35}
{5, 30, 35} ∩ (10,15,20,30,35,40) = {30, 35}
g) (A-C) U (B-C) = {0,5,10,15,20,30,35) - (10,15,20,30,35,40) = {0, 5,} ∪ (0,1,7,10,15,18,20,25) - (10,15,20,30,35,40) = {0, 7, 18, 25}
{0, 5,} ∪ {0, 7, 18, 25} = {0, 5, 7, 18, 25}