Arithmetic-geometric mean: Difference between revisions
Content added Content deleted
(add RPL) |
m (→{{header|BASIC}}: Dialects in alphabetic order.) |
||
Line 397: | Line 397: | ||
=={{header|BASIC}}== |
=={{header|BASIC}}== |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
==={{header|BASIC256}}=== |
==={{header|BASIC256}}=== |
||
<syntaxhighlight lang="basic256">print AGM(1, 1 / sqr(2)) |
<syntaxhighlight lang="basic256">print AGM(1, 1 / sqr(2)) |
||
Line 505: | Line 486: | ||
160 LET AGM=A |
160 LET AGM=A |
||
170 END DEF</syntaxhighlight> |
170 END DEF</syntaxhighlight> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
==={{header|True BASIC}}=== |
==={{header|True BASIC}}=== |