- #1
BOAS
- 552
- 19
Hello,
today in class we started a topic on permutations and combinations and I have come across a way in which it could be of use to me whilst working with 'logictutor' (a premade circuit board used to teach simple logic circuits).
We have an experiment tomorrow where we will investigate different logic gates and build a decade counter and whilst my question isn't about that, I think it would be nice to show the permutations of inputs.
There are four switches on the board that control the input to a seven segment display and I need to fill out a table that shows the position of each switch and what the display will show.
There are 4! permutations possible for 4 items but in my situation each item can be either on or off.
I hope this doesn't translate to their being 8! permutations otherwise I'm going to be up all night on excel making tables.
So how do I model this problem to show the number of permutations? I suppose I would like to know because as truth tables get bigger and bigger it could be a quick check to show I have every possibility.
Thanks! (I hope my question is clear)
today in class we started a topic on permutations and combinations and I have come across a way in which it could be of use to me whilst working with 'logictutor' (a premade circuit board used to teach simple logic circuits).
We have an experiment tomorrow where we will investigate different logic gates and build a decade counter and whilst my question isn't about that, I think it would be nice to show the permutations of inputs.
Homework Statement
There are four switches on the board that control the input to a seven segment display and I need to fill out a table that shows the position of each switch and what the display will show.
Homework Equations
The Attempt at a Solution
There are 4! permutations possible for 4 items but in my situation each item can be either on or off.
I hope this doesn't translate to their being 8! permutations otherwise I'm going to be up all night on excel making tables.
So how do I model this problem to show the number of permutations? I suppose I would like to know because as truth tables get bigger and bigger it could be a quick check to show I have every possibility.
Thanks! (I hope my question is clear)