Programming Exercise (HP-15C, 15C LE - and others)
|
03-26-2014, 02:22 AM
Post: #36
|
|||
|
|||
RE: Programming Exercise (HP-15C, 15C LE - and others)
(03-26-2014 12:00 AM)Gerson W. Barbosa Wrote: Would you try Thomas Klemm's idea, that is, evaluating two terms per loop? Thanks! Do this change: for no get error "Divide by zero" (well, this error but in spanish) for n=5000 to 2 step -1 get suma= 0.999800000 in about 3 sec if change to for n=10000 to 2 step -1 get suma= 0.999900000 in 5.5 sec |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 13 Guest(s)