document.write( "Question 1190470: MAT 145: Topics In Contemporary Math\r
\n" ); document.write( "\n" ); document.write( "QUESTION 6\r
\n" ); document.write( "\n" ); document.write( "Create a truth table for the following.\r
\n" ); document.write( "\n" ); document.write( "left parenthesis p rightwards arrow q right parenthesis logical and left parenthesis r space logical or space tilde p right parenthesis\r
\n" ); document.write( "\n" ); document.write( "(p --> q) ∧ (r V ~ p)
\n" ); document.write( "

Algebra.Com's Answer #822118 by math_tutor2020(3816)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "T = true
\n" ); document.write( "F = false\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here are some facts to memorize
  • p v q is false when both p and q are false together; otherwise it's true
  • p ^ q is true when both p and q are true together; otherwise, it's false
  • p -> q is false when p is true and q is false; otherwise it's true
  • ~p is the opposite of column p (i.e. flip everything in column p)
With all that in mind, we have this truth table\n" ); document.write( "\n" ); document.write( "
pqr~pp -> qr v ~p(p -> q) ^ (r v ~p)
TTTFTTT
TTFFTFF
TFTFFTF
TFFFFFF
FTTTTTT
FTFTTTT
FFTTTTT
FFFTTTT

\n" ); document.write( "Notice we need 8 rows because of the 3 variables (p,q,r).
\n" ); document.write( "2^3 = 8\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Column p has four T's in a row, followed by four F's in a row.
\n" ); document.write( "Column q has two copies of TTFF
\n" ); document.write( "Column r has four copies of TF
\n" ); document.write( "
\n" ); document.write( "
\n" );