P2 Resuelta
P2 Resuelta
P2 Resuelta
Ingeniería en Informática
Práctica II
Secuencia: 2NM2A
Fecha de realización:
1-. ENTRADAS: 2 INTERRUPTORES | SALIDAS: 1 FOCO
A)
B)
A
B 0 1
0 0 1
1 1 0
Función maxitérminos: (𝐴̅ + 𝐵%)(A+B)
Función mini términos: (𝐴̅ ∗ 𝐵)+(𝐵% ∗ 𝐴)
C)
D)
2-. ENTRADAS: S, L, E, M, P | SALIDAS: T
A)
2" = 32 valores de la tabla de verdad
S L E M P T
0 0 0 0 0 0
0 0 0 0 1 0
0 0 0 1 0 1
0 0 0 1 1 1
0 0 1 0 0 0
0 0 1 0 1 0
0 0 1 1 0 1
0 0 1 1 1 1
0 1 0 0 0 0
0 1 0 0 1 0
0 1 0 1 0 0
0 1 0 1 1 0
0 1 1 0 0 0
0 1 1 0 1 0
0 1 1 1 0 0
0 1 1 1 1 0
1 0 0 0 0 0
1 0 0 0 1 1
1 0 0 1 0 1
1 0 0 1 1 0
1 0 1 0 0 1
1 0 1 0 1 0
1 0 1 1 0 0
1 0 1 1 1 1
1 1 0 0 0 0
1 1 0 0 1 0
1 1 0 1 0 0
1 1 0 1 1 0
1 1 1 0 0 0
1 1 1 0 1 0
1 1 1 1 0 0
1 1 1 1 1 0
0 0 1 1 0 1 0 1
0 0 1 1 1 0 1 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
F= (𝐴̅ ∗ 𝐵% ∗ 𝐷) + (𝐵% ∗ 𝐶̅ ∗ 𝐷 ∗ 𝐸% ) + (𝐵% ∗ 𝐶 ∗ 𝐷 ∗ 𝐸) + (𝐴 ∗ 𝐵% ∗ 𝐶̅ ∗ 𝐷
, ∗ 𝐸) + (𝐴 ∗ 𝐵% ∗ 𝐶 ∗ 𝐷
, ∗ 𝐸% )
A)
2# = 16 valores de la tabla de verdad
A B C D X Y
0 0 0 0 0 1
0 0 0 1 0 1
0 0 1 0 1 0
0 0 1 1 1 0
0 1 0 0 1 0
0 1 0 1 0 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