The Museum of HP Calculators

HP Forum Archive 15

 48gx Statistics help please!Message #1 Posted by Mario on 23 Feb 2006, 3:31 p.m. Hi, I have a HP 48gx calc and I'm taking a stats class. I need to know how to calculate combinations. Such as, if you toss a coin 10 times, how many different ways can you get 4 heads out of the 10. Or something with the lotto, if there are 52 numbers to choose from, and you can choose 6, how many possible combinations are there. I'm kind of a beginner with this calc, so go easy, haha. Thanks for the help!

 Re: 48gx Statistics help please!Message #2 Posted by John Limpert on 23 Feb 2006, 5:04 p.m.,in response to message #1 by Mario Try MTH, NXT, PROB.

 Re: 48gx Statistics help please!Message #3 Posted by Mario on 24 Feb 2006, 3:54 a.m.,in response to message #1 by Mario I was told to put "COMB(10,4)" into the stack. Where can I find the COMB function? Thanks!

 Re: 48gx Statistics help please!Message #4 Posted by Arnaud Amiel on 24 Feb 2006, 4:33 a.m.,in response to message #3 by Mario On the hp48 you will have to do 10 ENTER 4 ENTER COMB COMB can be found where indicated above or you can use the alpha key to enter [C][O][M][B]

 Re: 48gx Statistics help please!Message #5 Posted by James M. Prange (Michigan) on 24 Feb 2006, 5:57 p.m.,in response to message #4 by Arnaud Amiel Actually, on the 48 (and 49) series, COMB is a function, so 'COMB(10,4)' EVAL will indeed work, as long as the "fraction mark" is at the default of using the period. If the fraction mark is the comma, then use 'COMB(10.4)' EVAL instead. Either way, 'COMB(10;4)' EVAL works. But Mario, note that the delimiters for an algebraic object are single-quotation marks, not double-quotation marks; "COMB(10,4)" is a character string. I suggest that you spend at least a little time reading the fine manual. Note that for the RPL models, you're likely to get a better response on the comp.sys.hp48 usenet group; see: http://groups.google.com/group/comp.sys.hp48?. Also see: http://www.hpcalc.org/ As an RPN sequence, 10 4 COMB also works. On the 28S, COMB isn't a function, so the algebraic syntax won't work, and the 28C doesn't have a built-in COMB command. Regards,James

Go back to the main exhibit hall