Re: Possible combinations
- From: magidin@xxxxxxxxxxxxxxxxx (Arturo Magidin)
- Date: Sun, 28 Aug 2005 18:21:12 +0000 (UTC)
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
.
- References:
- Possible combinations
- From: Janwillem Borleffs
- Possible combinations
- Prev by Date: Re: Rational and irrational numbers
- Next by Date: Volterra integral equation of the first kind
- Previous by thread: Re: Possible combinations
- Next by thread: Graph theory (drawing) references
- Index(es):
Relevant Pages
|