Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You are an Electrical Engineer and you work for a company that designs digital c

ID: 2990525 • Letter: Y

Question

You are an Electrical Engineer and you work for a company that designs digital circuits. You have designed a circuit with 4 inputs (A, B, C and D) and 4 Outputs as shown in the table below. For the given states of the inputs, determine each one of the corresponding outputs You are an Electrical Engineer and you work for a company that designs digital circuits. You have designed a circuit with 4 inputs (A, B, C and D) and 4 Outputs as shown in the table below. For the given states of the inputs, determine each one of the corresponding outputs You are an Electrical Engineer and you work for a company that designs digital circuits. You have designed a circuit with 4 inputs (A, B, C and D) and 4 Outputs as shown in the table below. For the given states of the inputs, determine each one of the corresponding outputs

Explanation / Answer

1) FOR

A=0 B=0 C=0 D=0

(A||B)=0 (A&&B)||C =0 ~D =1 ~D&&[(A&&B)||C] = 0

FOR

A=0 B=1 C=0 D=1

(A||B)=1 (A&&B)||C =0 ~D =0 ~D&&[(A&&B)||C] = 0

FOR

A=1 B=1 C=0 D=1

(A||B)=1 (A&&B)||C =1 ~D =0 ~D&&[(A&&B)||C] = 0

FOR

A=0 B=1 C=0 D=1

(A||B)=1 (A&&B)||C =1 ~D =0 ~D&&[(A&&B)||C] = 0

MATLAB CODE:

A=0; B=0; C=0; D=0;

outputfor0000=[A||B,(A&&B)||C,~D,~D&&[(A&&B)||C]]; %will give output values for all four outputs

A=0; B=1; C=0; D=1; %update inputs

outputfor0101=[A||B,(A&&B)||C,~D,~D&&[(A&&B)||C]]; %will give output values for all four outputs

A=1; B=1; C=0; D=1; %update inputs

outputfor1101=[A||B,(A&&B)||C,~D,~D&&[(A&&B)||C]]; %will give output values for all four outputs

A=0; B=1; C=1; D=1; %update inputs

outputfor0111=[A||B,(A&&B)||C,~D,~D&&[(A&&B)||C]]; %will give output values for all four outputs

%outputfor0000=[output1 output2 output3 output4] for 0000 input i.e A=0,B=0,C=0=D=0 simailar for others