=======================================================================
Yared Negussie
http://www.geocities.com/Athens/Troy/7610
"Power corrupts, but we need electricity."
-- Daniel D'Errico
=======================================================================
Step 1: place a number on the stack.
Step 2: press [MTH] [NXT] [PROB] [!].
-or- press [alpha] [left-shift] [DEL] [ENTER].
-or- type FACT and press [ENTER].
Everybody else: How many other ways are there?
-Joe-
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Then hit the softkey (the white key under the menu item) for PROB. You may
have to type NXT before you see prob. I don't remember and do not have my
calculator at hand.
Then there should be (if memory serves me correctly) under the third softkey an
" ! ". This is the button you press to find a factorial.
There are ways to bypass this entire sequence if you will be finding factorials
often. One is to make a small program that will run the ! command from the VAR
menu.
<< ! >>
'fact' STO
and then hit VAR and hit the softkey for FACT.
Hope it helps,
Jeremy
>Step 1: place a number on the stack.
>
>Step 2: press [MTH] [NXT] [PROB] [!].
> -or- press [alpha] [left-shift] [DEL] [ENTER].
> -or- type FACT and press [ENTER].
>
>Everybody else: How many other ways are there?
Hi Joe,
12413915592536072670862289047373375038521486354677760000000000
I guess there are 48! ways ;-)
Greetings from Cologne
Peter
E-Mail: karpfe...@gmx.de
_______________________________
Do you know the great Frequently Asked Questions?
http://www.engr.uvic.ca/~aschoorl/faq/
and the superb HP48 Software Archive?
http://www.hpcalc.org
to look for *old* HP48 postings see
http://www.dejanews.com
this uses the CHARS screen... amazing to see and use the first time...
good luck
bill spence
In article <7f6h87$5d$1...@nnrp1.dejanews.com>, joe...@usa.net wrote:
> Yared B. Negussie wrote:
> >
> > can somone please tell me how to use hp48gx to calculate factorial. I lost
> > my manual. thank you
>
Propably a million or so, but here are some that I like (but never use, of
cource)
Example of recursive program, and use of IFTE (IF THEN ELSE END) in
algebraics
'Fact(n)=IFTE(n==1,1,n*Fact(n-1))' left-shift DEF will create a recursive
program called Fact in your var-menu.
(note double =, means 'is equal to')
A small program
<< 1 1 ROT FOR n n * NEXT >>
Evaluate the integral 'INT(0,infinity,EXP(-t)*t^x,t)' for any integer or
positive x. This will return the factorial of x. The HP can't integrate to
infinity, but an upper limit of say 5*x and a resolution of 2 FIX should do.
The hp has two diferent factorials built in, one for integers and one for
reals. Both can be reached via sysevals, but that is not recommended.
Christian