Summation on HP 42S
|
09-23-2018, 06:14 PM
Post: #1
|
|||
|
|||
Summation on HP 42S
I tried doing a simple summation of "x" from 1 to 100. I got it to work, and correctly come up with an answer of 5050. There must be a simpler way than the contorted way that I did.
Here's my program: LBL "SUM" 1.1 STO "T" 0 ENTER LBL "COUNT" RCL "X" ENTER 1 + STO "X" + + ISG "T" GTO "COUNT" .END. I begin by storing 0 into "X". What is a better way to accomplish this? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 8 Guest(s)