Daniel Carrera wrote:
Peter Kupfer wrote:


If the description is this:
"Returns the number of combinations for a given number of objects."
That would be nCr on my calculator, right?


Correct.

That function is =combine(num;num)



If it says:
"Returns the number of combinations for a given number of objects (repetition included)."
That would be nPr, right?

This one is =combinea(num;num)



The wording is a bit akward. No, "nPr" is a "permunation".

nCr(a,b) = nPr(a,b) / (a-b)!

Where '!' refers to "factorial".

What's the name of this second function in Calc? I want to test it out. I want to figure out what they mean by "repetition included". And for reference, what's the formula for combinations? (nCr).

Cheers,

Just to check myself, nCr is when you select from a group but can only pick each thing once, like Bingo.


nPr is when you can pick out of a group but you pick things multiple times. Like if I had a set {1,2,3} and I was going to pick three things, I could pick {3,3,3}. Right?
--
Peter Kupfer
OOo user since 'OO4
http://peschtra.tripod.com/open_office/ooo_front.htm




Reply via email to