Post Reply 
(33C) (33E) C(y,x), P(y,x) and x!
05-10-2018, 01:32 PM
Post: #6
RE: (33C) (33E) C(y,x), P(y,x) and x!
(05-10-2018 12:38 PM)Rogier Wrote:  
Quote:But the linked 12C programs should also run on the 33C/E.

Not straight away; the 12C has various functions (e.g. x!), which the 33C/E has not, so you may need some extra lines.

Yes, the first programs in the linked thread require the factorial function. That's why I wrote:

(05-07-2018 08:46 PM)Dieter Wrote:  The first programs posted there required the factorial function. Then an iterative approach similar to yours was implemented, for instance in post#22 (my attempt at this topic). This version does it in 23 steps. There also is a "deluxe version" with some optimizations (e.g. by minimizing the number of loops due to C(n,k) = C(n,n–k).

The two programs in post #22 should also run on the 33C/E.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(33C) (33E) C(y,x), P(y,x) and x! - Rogier - 05-07-2018, 06:36 PM
RE: (33C) (33E) C(y,x), P(y,x) and x! - Dieter - 05-10-2018 01:32 PM



User(s) browsing this thread: 1 Guest(s)