Hi Neil,
Using SystemModeler would defeat the purposes of this exercise which are to learn more about Mathematica and also to play around with Boolean algebra. I'd like to use the original algebra that Boole develops in An Investigation of the Laws of Thought. In it, he uses subtraction and division and elimination of variables from a system of equations. Of course, it has nothing to do with circuits--it's all about thought!
But the big problem is: Why doesn't Mathematica support static variables?
Hi Michael,
When I tried your original code, nothing happened. Just tried it again, still nothing. But it obviously works. (Sorry for misspelling your name.)
I suggested using a name in the fifth post down. This is the way to go--you're right, test1[] produces testState, not test1State.
Eric