Changes

Jump to navigation Jump to search
116 bytes added ,  15:52, 28 May 2016
02) Use Maple para construir as tabelas verdades para cada um dos seguintes pares de expressões booleanas.
 a) a -> b and b -> a with(Logic):
TruthTable(((a &implies b)&and(b &implies a)), [a,b], output = Matrix);
(true, false) = false ])
b) a -> ¬b and b -> ¬a with(Logic):
TruthTable(`&and`(`&implies`(a, `&not`(b)), `&implies`(b, `&not`(a))), [a, b], output = Matrix);
(true, false) = true ])
c) a + (b(¬c)) and (a + b +d)(a + c + d)
with(Logic):
TruthTable(`&and`(`&or`(a, `&and`(b, `&not`(c))), (`&or`(`&or`(a, b), c))*(a+c+d)), [a, b, c, d], output = Matrix);
53

edits

Navigation menu