Re: Is it doable in Mathematica? How?
- To: mathgroup at smc.vnet.net
- Subject: [mg39724] Re: Is it doable in Mathematica? How?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Mon, 3 Mar 2003 23:49:38 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <b3v7ef$k96$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, and toBoolean[0] := False toBoolean[_Integer] := True Table[toBoolean[i] && toBoolean[j], {i, 0, 1}, {j, 0, 1}] is not working ? Regards Jens Konrad Den Ende wrote: > > I'd like to create a truth table for, say, A, B and C, as > well as two different expression, say, A&&B&&C and > (A||B) -> C. How do i go about that? > > I have tried Table, but since True/False are not allowed > there i got stuck. The help in Mathematica was of little > help in this case. Any hints or suggestions? > > -- > > Vänligen > Konrad > --------------------------------------------------- > phone #1: (+46/0) 708 - 70 73 92 > phone #2: (+46/0) 704 - 79 96 95 > url: http://konrads.webbsida.com > e-mail: chamsterkonrad at bigfoot.com > ----------------------------------- > > Sleep - thing used by ineffective people > as a substitute for coffee > > Ambition - a poor excuse for not having > enough sence to be lazy > ---------------------------------------------------