NCR and NPR



Nathaniel Schmidt <nathanieljsch <at> westnet.com.au> writes:

> 
> 
> Hi all,
>  
> I am a senior secondary student in Australia studying Maths Methods, and I use
maxima a lot as my preferred CAS calculator because sinse I have no vision, the
normal calculators are of no use to me as there is no accessible interface that
I can use.  I have a question relating to combinatorics: is it possible to do
permutations in maxima? I can do them in my head, but when there are a lot of
numbers, this can get tricky.  So is there a function I can use for NCR or NPR?
If so, this would also save a lot of typing so that I don?t have to manually do
so much multiplication.  
>  
> If anyone is able to offer any suggestions, I would be greatful.
>  
> Kind regards,
>  
Sure there is:

permutation(n,r);

for example: permutation(6,2);

to use it, you need to load(functs) first.

good luck with your study.

- Michael