Staredit Network

Staredit Network -> UMS Assistance -> Different Outcomes
Report, edit, etc...Posted by Urmom(U) on 2005-10-04 at 17:57:15
Hey, I'm randomizing 3 switches in a trigger. Could you list the different outcomes that I could get? Whenever I do it, it seems as if I leave one out.

Ex.:
Set
Cleared
Cleared

But just so it would be easier to read, do you think you could make it [Set = 0 and Cleared = 1]?

So it would be:
0
1
1
Thanks.
Report, edit, etc...Posted by slayer766 on 2005-10-04 at 19:16:38
Set
Cleared #1
Cleared #2

Set
Cleared #2
Cleared #1

Cleared #1
Cleared #2
Set

Cleared #2
Cleared #1
Set

Cleared #1
Set
Cleared #2

Cleared #2
Set
Cleared #1

Those are the outcomes I came up with, not sure if there is anymore though....
Report, edit, etc...Posted by Mostly-Harmless on 2005-10-04 at 19:18:38
wow I'm confused already..

switches aren't my best thing.. I dont understand the switch clear thing and the switch set thing .. .it's all very confusing smile.gif
Report, edit, etc...Posted by Urmom(U) on 2005-10-04 at 19:21:03
Well, here is what I could think of. Am I forgetting any group?

1 0 0
1 1 0
0 1 1
0 0 1
0 1 1
0 0 1
1 0 1
0 1 0

Is there any more? It really seems like I am forgetting one.
Report, edit, etc...Posted by Deathknight on 2005-10-04 at 19:32:25
You should have 2^(Number of switches used) to calculate the number of outcomes.
Report, edit, etc...Posted by Mostly-Harmless on 2005-10-04 at 19:34:54
QUOTE(Deathknight @ Oct 4 2005, 05:32 PM)
You should have 2^(Number of switches used) to calculate the number of outcomes.
[right][snapback]326585[/snapback][/right]


thats an exponent
Report, edit, etc...Posted by Urmom(U) on 2005-10-04 at 19:38:16
Well 2*2*2=8 so I guess that they are all there. Thanks.

Topic Locked
Next Page (1)