(41/42) AGM - Arithmetic-Geometric Mean
|
06-10-2020, 08:02 AM
Post: #6
|
|||
|
|||
RE: (41/42) AGM - Arithmetic-Geometric Mean
If I can do AM=(a+b)/2 instead of a+(b-a)/2, and I test for GM convergence, then:
Code: 00 { 22-Byte Prgm } to make it 41-compatible, replace lines 4 and 5 with RCL ST Y RCL ST Y + at the expense of 1 byte. If you don't like that the global label gets excuted in the loop, put it before LBL 02 and place a Rv in between, again at the expense of 1 byte Cheers, Werner 41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(41/42) AGM - Arithmetic-Geometric Mean - Werner - 06-09-2020, 06:48 AM
RE: (41/42) AGM - Arithmetic-Geometric Mean - Albert Chan - 06-09-2020, 01:14 PM
RE: (41/42) AGM - Arithmetic-Geometric Mean - Albert Chan - 06-09-2020, 03:51 PM
RE: (41/42) AGM - Arithmetic-Geometric Mean - Albert Chan - 06-09-2020, 11:55 PM
RE: (41/42) AGM - Arithmetic-Geometric Mean - Gerson W. Barbosa - 06-10-2020, 04:10 AM
RE: (41/42) AGM - Arithmetic-Geometric Mean - Werner - 06-10-2020 08:02 AM
RE: (41/42) AGM - Arithmetic-Geometric Mean - Gerson W. Barbosa - 06-10-2020, 11:23 AM
RE: (41/42) AGM - Arithmetic-Geometric Mean - Werner - 06-10-2020, 01:16 PM
RE: (41/42) AGM - Arithmetic-Geometric Mean - Gerson W. Barbosa - 06-10-2020, 02:14 PM
RE: (41/42) AGM - Arithmetic-Geometric Mean - Werner - 06-10-2020, 02:24 PM
|
User(s) browsing this thread: 1 Guest(s)