Re: Possible combinations



In article <4311ce00$0$89709$dbd45001@xxxxxxxxxxxxxxx>,
Janwillem Borleffs <jw@xxxxxxxxxxxxx> wrote:
>I have got a very basic question:
>
>When I have to variables:
>
>a = 0 or 1
>b = 0 or 1
>
>Then there are 2 pow2 = 4 possible combinations. This is easy enough.
>
>But when I have the following variables:
>
>a = 0 or 1 or 2
>b = 0 or 1
>
>How do I calculate the number of calcutions then?

Multiply them.

If you have two events, A and B, which are independent; if A may occur
in any of k ways, and B may occur in any of m ways, then the number of
ways in which A and B may occur is k*m; the number of ways in which
either A or B may occur is k+m.

--
======================================================================
"It's not denial. I'm just very selective about
what I accept as reality."
--- Calvin ("Calvin and Hobbes")
======================================================================

Arturo Magidin
magidin@xxxxxxxxxxxxxxxxx

.



Relevant Pages

  • Re: "It is easy to see...."
    ... all this stuff cold, but it's been too many years... ... what I accept as reality." ... Arturo Magidin ... Prev by Date: ...
    (sci.math)
  • Re: Set of irrationals closed under sum
    ... and let A be the Z-span of S. ... what I accept as reality." ... Arturo Magidin ... Prev by Date: ...
    (sci.math)
  • Re: Dedekind Domain
    ... Sorry I can't be more detailed; I'm away from the office, and plan to ... what I accept as reality." ... Arturo Magidin ... Prev by Date: ...
    (sci.math)
  • Re: Split or Irreducible
    ... If u is a root for f, ... what I accept as reality." ... Arturo Magidin ... Prev by Date: ...
    (sci.math)
  • Re: algebra again
    ... >> ms = sm for every m in M and every nonzero elemetn s of S. ... what I accept as reality." ... Arturo Magidin ... Prev by Date: ...
    (sci.math)