Re: Possible combinations



On Sun, 28 Aug 2005 16:45:27 +0200, "Janwillem Borleffs"
<jw@xxxxxxxxxxxxx> wrote:

>Hello,
>
>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?
>
>Regards,
>JW
>
>

With so few choices, you should at least try to get the answer
experimentally. Just write out all the possible arrangements and
actually count them. This will lead you to the general principle.

quasi
.



Relevant Pages

  • Re: basic question about metric space... is a distance metric continuous function?
    ... On Tue, 6 Dec 2005, comtech wrote: ... > I have a basic question about metric space... ... As M has the topology generated by the open balls, ... Prev by Date: ...
    (sci.math)
  • Re: Q: const?
    ... > Jakob Bieling wrote: ... >> now this may seem like a very very basic question .. ... to provide some guidance as to what might be done instead should they ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Automatic date updates
    ... I don't use Word all that much and this may be a basic question. ... Excel has an =Today function that does this, ... have an equivalent command. ... Prev by Date: ...
    (microsoft.public.word.docmanagement)
  • Automatic date updates
    ... I don't use Word all that much and this may be a basic question. ... Excel has an =Today function that does this, ... have an equivalent command. ... Prev by Date: ...
    (microsoft.public.word.docmanagement)
  • Re: Q: const?
    ... > Jakob Bieling wrote: ... >> now this may seem like a very very basic question .. ... (reply address in rot13, unscramble first) ... Prev by Date: ...
    (comp.lang.java.programmer)