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

YOU MUST SHOW YOUR WORK FOR EACH CALCULATION Part 3.b Complete the truth table f

ID: 3850208 • Letter: Y

Question

YOU MUST SHOW YOUR WORK FOR EACH CALCULATION

Part 3.b

Complete the truth table for the logic statement

~(L & M == ~N) | N & ~M > L

L=0

L=1

M=0

M=1

M=0

M=1

N=0

N=1

Part 3.a                      

Complete the truth table for the logic statement.

(~xor(F,G) & H) < K == G

F=0

F=1

G=0

G=1

G=0

G=1

H=0

K=0

K=1

H=1

K=0

K=1

Part 3.b                     

Construct the truth table and then complete it for the logic statement

( E | C) & D | (D&E)

< insert truth table here >

Part 4.e

Translate the English logic statement:

The statement is true if both P and Q are true. The statement is true if both P and Q are false. The statement is true if R is true. All other conditions are false.

T/F pattern identification from English statement

Add the variables to the table. Then, fill with 1 and 0 according to your interpretation of the English statement.

Use the pattern above to write a MATLAB logic statement that produces the same outputs

Logical Statement

T/F pattern verification using MATLAB logic statement

Add the variables in the same manner as the pattern table. Fill this table with complete work using the logical statement you have written above. Intermediate steps must be provided in each cell of the table — even if you see opportunities for short cuts.

Part 4.f

Translate the English logic statement:

The statement is true if one of S or T is true, or the statement is true if S is true and V is false.

T/F pattern identification from English statement

Add the variables to the table. Then, fill with 1 and 0 according to your interpretation of the English statement.

Use the pattern above to write a MATLAB logic statement that produces the same outputs

Logical Statement

T/F pattern verification using MATLAB logic statement

Add the variables in the same manner as the pattern table. Fill this table with complete work using the logical statement you have written above. Intermediate steps must be provided in each cell of the table — even if you see opportunities for short cuts.

L=0

L=1

M=0

M=1

M=0

M=1

N=0

N=1

Explanation / Answer

*) Step by step calculation for ~(L & M == ~N) | N & ~M > L as follows :-

~(L & M == ~N):-

N & ~M:-

N & ~M > L:-

~(L & M == ~N) | N & ~M > L:-

*)  Step by step calculation for (~xor(F,G) & H) < K == G as follows :-

~xor(F,G) & H:-

(~xor(F,G) & H) < K:-

(~xor(F,G) & H) < K == G:-

*) Step by step calculation for ( E | C) & D | (D&E) as follows :-

( E | C) & D :-

( E | C) & D | (D&E):-

*)Truth table for the English statement "The statement is true if both P and Q are true. The statement is true if both P and Q are false. The statement is true if R is true. All other conditions are false" is as follows:-

L M L & M 0 0 0 0 1 0 1 0 0 1 1 1