Post Reply 
Programming Exercise (HP-15C, 15C LE - and others)
03-29-2014, 12:32 PM
Post: #51
RE: Programming Exercise (HP-15C, 15C LE - and others)
(03-29-2014 12:02 PM)Thomas Klemm Wrote:  
(03-29-2014 12:36 AM)Tugdual Wrote:  Nobody mentioned that entering $$\sum _{ K=1 }^{ 10000 }{ \frac { { (-1 })^{ K+1 } }{ K } }$$ on the Prime with no need for any sort of coding would instantly return 0.693097183025
Is that off scope consideration for this thread?
I know that the prime is blazing fast but the speed is so impressive that I wonder if the calculator is actually performing a loop?
That's the solution to:
Quote:(a) addition of terms from left to right
What about:
Quote:(b) addition of terms from right to left
Compare the results and explain the difference.
Can you do even better?

Cheers
Thomas
For (b) I did:
$$\sum _{ K=10000 }^{ 1 }{ \frac { { (-1 })^{ K+1 } }{ K } }$$

I can't explain the difference because the result is the same Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Programming Exercise (HP-15C, 15C LE - and others) - Tugdual - 03-29-2014 12:32 PM



User(s) browsing this thread: 3 Guest(s)