![]() |
Summing Function - 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: Summing Function (/thread-181140.html) |
Summing Function - Jim Yohe - 03-27-2011 Is there a similar function to the HP-27S Summing {sigma} Function (page 108 of Owner's Manual) but available on the HP-42S or the HP-32SII and in the related owner's manual(s)? I can't seem to find one but I could have overlooked it. FYI, from HP-27S manual: {sigma}(counter variable : starting value : ending value : step size : algebraic expression) Definition: Sums values of the algebraic expression for values of the counter variable. The counter variable starts with the starting value and is incremented in steps to a final ending value. I'd like to try out the following equation in SOLVE on my 42S and 32SII if possible. Solve for PI' (since PI is already a function): PI'=(6÷SQRT(3))*{sigma}(I:0:LAST:1:(-1)^I÷((2xI+1)x3^I)) It takes a value of 21 in variable LAST to produce 12 digits of accuracy (last digit rounded up) for PI'. Ref: The history of the approximation of the number PI; 4.1. Gottfried Wilhelm Leibniz (1646-1716); Scholz, Werner; http://cwscholz.net/projects/fba/fba.html
===
Re: Summing Function - Don Shepherd - 03-27-2011 There is no sigma command in the 32sii solver, but you could do it in a program.
This gives you the sigma character in a forum post (thanks Thomas Klemm): [img:http://www.hpmuseum.org/software/symsums.gif]
Re: Summing Function - Jim Yohe - 03-27-2011 Yes, thank you Thomas (and Don). Too bad I didn't know it earlier, but better late than never.
PI'=(6÷SQRT(3))* That looks better!
Edited: 27 Mar 2011, 10:52 p.m.
Re: Summing Function - Thomas Klemm - 03-29-2011 You might like to read my article:
Here's the formula in LaTeX: \frac{\pi}{6}=\frac{1}{\sqrt{3}}\sum_{n=0}^{\infty}\frac{(-1)^n}{(2n+1)3^n} At that's the result:
Quote:
00 { 42-Byte Prgm }
Run: 21
Kind regards
Edited: 29 Mar 2011, 2:24 a.m.
Re: Summing Function - Jim Yohe - 03-29-2011 Thomas, that looks even better but it's not the why it looks when the equation is entered into the HP-27S, but thank you non-the-less. I'll have to practice playing around with LaTeX a bit in between my studies. So much to do ... so little time. :-)
Thanks for the HP-42S program, as well.
Re: Summing Function - Martin Pinckney - 03-29-2011 Quote: ![]()
Jim, if you want to see something like the above, you'll need a 48GX ;-)
Re: Summing Function - Jim Yohe - 03-29-2011 That's nice to know and I will be able to see that for myself when I become the owner of a 48GX soon. :-D Though my main question was whether the 42s and 32sii had a similar "summing function" as the 27s since I failed find one in either of the owner's manuals. Don directly answered my question for the 32sii and I'd assume the 42s doesn't provide that same function either with Thomas' indirect answer of a programming solution.
Obviously you can do so much more through programming than relying on build in "functions" and I'm content with that. Thank you all.
|