Product Series and Limit Expressions on the 50G - Printable Version +- HP Forums ( https://archived.hpcalc.org/museumforum)+-- Forum: HP Museum Forums ( https://archived.hpcalc.org/museumforum/forum-1.html)+--- Forum: Old HP Forum Archives ( https://archived.hpcalc.org/museumforum/forum-2.html)+--- Thread: Product Series and Limit Expressions on the 50G ( /thread-249353.html) |

Product Series and Limit Expressions on the 50G - Matt Agajanian - 09-02-2013
Although the 50G does have summation series, definite and indefinite integral entry directly in the Equation Writer, how do I input a Product Series expression into the 50G? Next, how do I enter a Limit expression in the 50G Equation Writer?
Thanks
Re: Product Series and Limit Expressions on the 50G - Gilles Carpentier - 09-02-2013
For 'limit' with EWQ, I do :
Shift Calc Limit LIM It's unclear in the doc but
X=0+0 means right and left limits
However the input is not in '2D'... It's become '2D' after ENTER and you can edit in 2D after that. Perhaps there is another way ?
Re: Product Series and Limit Expressions on the 50G - Matt Agajanian - 09-02-2013
A little help, please. How would asample expression be written in RPN mode? Thamk you
I got the idea.
So, how do I enter a product series (upper case Greek Pi) expression?
Re: Product Series and Limit Expressions on the 50G - Gerson W. Barbosa - 09-02-2013
There is no PI operator, but you can use SIGMA, LN and EXP together. Let's say you want the product of the first ten natural numbers (a.k.a. 10!), or 'PI(n=1,10,n)'But the HP 50g lacks PI, as we know. No problem, do that instead: 'EXP(SIGMA(n=1,10,LN(n)))'You'll get 3628800.00009. Well, those extra 0.00009 are a small price to pay :-) HTH, Gerson.
Re: Product Series and Limit Expressions on the 50G - Matt Agajanian - 09-02-2013
So, are you saying, in the last argument (from your example, 'LN(n)', justl replace the argument n with my math expression?
But, if the expression, n, produces a negative value through the range of the series, taking LN(expression) will result in an error condition. Wouldn't it? Or, since the 50G will handle complex results, the calculation of the Product Series will calculate thoroughly?
Re: Product Series and Limit Expressions on the 50G - Gerson W. Barbosa - 09-02-2013
Quote:Yes, that's a concern. This method won't work for all cases, still a few of them will be easily handled. For instance, if all terms have negative value, just make them positive then change the sign of the result if the numbers of terms is odd. Re: Product Series and Limit Expressions on the 50G - Matt Agajanian - 09-02-2013
Okie doke!
Thanks.
Re: Product Series and Limit Expressions on the 50G - Thomas Ritschel - 09-02-2013
Outside the equation writer one could use a combination of SEQ and PILIST (from the MTH/LIST menu). This would also work for negative members of the series. For example for odd integers from n=-5 to n=5:
n You'll get a list: {-5 -3 -1 1 3 5}
PILISTyields -225.
In ALG mode one could combine the two statements into just one line. However I haven't found a way to enter this in RPN mode (apart from temporarily switching to and from ALG mode).
Re: Product Series and Limit Expressions on the 50G - Bunuel66 - 09-02-2013
May be computing with absolute value will solve the problem...and then finding the final sign by hand....
Re: Product Series and Limit Expressions on the 50G - Matt Agajanian - 09-02-2013
There's got to be a better way with such a feature- and function-loaded calculator.
Re: Product Series and Limit Expressions on the 50G - Matt Agajanian - 09-02-2013
Well, that sounda like a good fix. Besides, it feels and sounds like that programming routine gets my RPN programming juices fired up. Yeah, after taking a break and looking at this in a relaxed mood, this idea (and I wouldn't mind seeing other methods) makes for a good alternative.
Re: Product Series and Limit Expressions on the 50G - Matt Agajanian - 09-02-2013
Actually, to keep this an entirely RPN item, you could do what I just tried and just put that PiList command into the program as the last instruction. Or were you trying for a stack-based function instead of a program?
Re: Product Series and Limit Expressions on the 50G - Thomas Ritschel - 09-03-2013
Quote:
Yes, I was trying for a stack-based function (equation). Within a program it is no problem to put the PiList directly after the SEQ statement...
Re: Product Series and Limit Expressions on the 50G - Simone Cerica - 09-03-2013
Quote: You must read "PI (Product) function for 48/49/50" of John H Meyers on comp.sys.hp48
best regards, |