[WP 34s] Summation Function (Sigma) « Next Oldest | Next Newest »

 ▼ Paul C Junior Member Posts: 8 Threads: 2 Joined: Jan 2013 01-29-2013, 02:37 AM Hi all, I just recently received my WP-34s and was playing around with the summation function( [g] [3] ). As searching for the solution on the manual and couldn't find an answer, I thought it would be better to post my question here. Is it possible to set a starting value and an end value for the summation function? If so, is it okay to set those value to +/-infinite while D flag is on ? cheers, Paul C. ▼ Walter B Posting Freak Posts: 4,587 Threads: 105 Joined: Jul 2005 01-29-2013, 02:56 AM Quote: Is it possible to set a starting value and an end value for the summation function? Did you look at p. 112 of the manual? Quote:If so, is it okay to set those value to +/-infinite while D flag is on ? :-) Nice idea indeed. But, alas, it isn't ok - just think of the infinite number of loops - you'd wait an infinite time for the function to finish. d:-) ▼ Paul C Junior Member Posts: 8 Threads: 2 Joined: Jan 2013 01-29-2013, 03:21 AM Quote: :-) Nice idea indeed. But, alas, it isn't ok - just think of the infinite number of loops - you'd wait an infinite time for the function to finish. d:-) Oops, I should've read the manual thoroughly before posting the question :P Thanks Walter, the last sentence sounds reasonable and makes sense to me. Paul Dale Posting Freak Posts: 3,229 Threads: 42 Joined: Jul 2006 01-29-2013, 03:10 AM Quote:If so, is it okay to set those value to +/-infinite while D flag is on ? I can add support for infinite summations. Bear in mind that they count down and infinity-1 = infinity. The code would be trivial: ```inf? back 001 ``` Of course it won't finish in anyones lifetime... - Pauli ▼ Paul C Junior Member Posts: 8 Threads: 2 Joined: Jan 2013 01-29-2013, 03:26 AM Quote: I can add support for infinite summations. Bear in mind that they count down and infinity-1 = infinity. The code would be trivial: ```inf? back 001 ``` Of course it won't finish in anyones lifetime... - Pauli Perhaps, an artificially high number would work in this case? ▼ Walter B Posting Freak Posts: 4,587 Threads: 105 Joined: Jul 2005 01-29-2013, 03:33 AM Quote: Perhaps, an artificially high number would work in this case? So which number do you suggest being high enough? d;-) ▼ Paul Dale Posting Freak Posts: 3,229 Threads: 42 Joined: Jul 2006 01-29-2013, 03:36 AM Quote:So which number do you suggest being high enough? Then we'll throw the summation of 1/n at it :-) - Pauli ▼ Paul C Junior Member Posts: 8 Threads: 2 Joined: Jan 2013 01-29-2013, 03:57 AM I thought the calculator would somehow automatically notice the summation of the function (C^n) is equal to (1/1-C) if n is starting from 0 to infinite, but in this case I think the number 1000 would be high enough to replace the infinite. ▼ Paul Dale Posting Freak Posts: 3,229 Threads: 42 Joined: Jul 2006 01-29-2013, 04:10 AM The 34S does no symbolic manipulations, so it can't recognise what you want it to here. Use an RPL machine for this kind of thing, the 34S is strictly numeric. Moreover the sum from 1 to 1,000 of 1/n is 500,500 which is a very very long way from the correct answer of infinity. Thus, making summations to infinity the same as summations to 1,000 will produce incorrect answers. The 34S does not produce incorrect answers, rather it does its best to give you the correctly rounded result for what you actually ask for -- which is often not what you really want, but that is beside the point. - Pauli ▼ Paul Dale Posting Freak Posts: 3,229 Threads: 42 Joined: Jul 2006 01-29-2013, 03:13 PM Oops, the sum above is of n not 1/n. Oh well. Both diverge at least. - Pauli Paul Dale Posting Freak Posts: 3,229 Threads: 42 Joined: Jul 2006 01-29-2013, 03:35 AM It wouldn't work generally which means we can't accept it. Plus, the time take for millions of iterations would be huge. It would be possible to sum the series up and stop when the terms converge. I didn't write the summation to work this way and even if it did, it would make mistakes. - Pauli C.Ret Senior Member Posts: 260 Threads: 0 Joined: Oct 2008 01-29-2013, 07:42 AM Quote: The code would be trivial: ```inf? back 001 ``` Of course it won't finish in anyone’s lifetime... This proves that the hardware isn't powerful enough! Have you try the Duracell's power cells ? Edited: 30 Jan 2013, 3:46 a.m. after one or more responses were posted

 Possibly Related Threads... Thread Author Replies Views Last Post [WP-34S] Unfortunate key damage with update to V3 :( svisvanatha 5 1,341 12-10-2013, 11:37 PM Last Post: Les Bell HP50g: Writing a function that returns a function Chris de Castro 2 951 12-10-2013, 06:49 PM Last Post: Han WP-34S (Emulator Program Load/Save) Barry Mead 1 747 12-09-2013, 05:29 PM Last Post: Marcus von Cube, Germany DIY HP 30b WP 34s serial flash/programming cable Richard Wahl 2 1,087 12-04-2013, 11:14 AM Last Post: Barry Mead WP 34S/43 ?'s Richard Berler 3 941 11-10-2013, 02:27 AM Last Post: Walter B My FrankenCulator (wp-34s) FORTIN Pascal 4 985 11-09-2013, 06:18 PM Last Post: FORTIN Pascal WP 34S Owner's Handbook Walter B 5 1,252 11-09-2013, 05:34 PM Last Post: Harald wp 34s overlay and programming. FORTIN Pascal 6 1,351 11-08-2013, 01:28 PM Last Post: Nick_S m.dy in display of WP-34S Harold A Climer 3 819 11-05-2013, 11:28 AM Last Post: Andrew Nikitin WP 34s : An old problem coming back Miguel Toro 2 764 11-05-2013, 03:00 AM Last Post: Marcus von Cube, Germany

Forum Jump: