Talk:Arithmetic-geometric mean: Difference between revisions

Content added Content deleted
(→‎Trivial solution: I agree with those task rules)
(→‎Trivial solution: Summarize the changes I've done)
Line 8: Line 8:


::The main problem I have with the description as it is is that it is too vague for the goal of finding the value of a constant. If the task goal is to give that value then it's pretty trivial to just calculate it offline (or look it up) and print it as text straight up. If the task goal is to calculate a general arithmetic-geometric mean then it needs a rename and I would suggest using different numbers. It would be nice to have smaller-precision values so that languages with no arbitrary precision libraries can participate. --[[User:Mwn3d|Mwn3d]] 18:17, 7 February 2012 (UTC)
::The main problem I have with the description as it is is that it is too vague for the goal of finding the value of a constant. If the task goal is to give that value then it's pretty trivial to just calculate it offline (or look it up) and print it as text straight up. If the task goal is to calculate a general arithmetic-geometric mean then it needs a rename and I would suggest using different numbers. It would be nice to have smaller-precision values so that languages with no arbitrary precision libraries can participate. --[[User:Mwn3d|Mwn3d]] 18:17, 7 February 2012 (UTC)

::: I've rewritten the task description to make the focus be on the <code>agm</code> function, with the application to computing agm(1,2**-0.5) being just an application of it. I've also linked things into Wikipedia, as that's a little more accessible than Mathworld. (I'll rename the task in a moment or two.) I'll not tackle whether that is the ''right'' value to calculate; for me, the interesting thing is computing a value using a (pair of) converging sequence(s). –[[User:Dkf|Donal Fellows]] 10:14, 8 February 2012 (UTC)


Are people missing that the number specified is not Gauss's? agm(1, 1/sqrt(2)) is about .85 and Gauss's, 1/agm(1, sqrt(2)) is about .83. Either way, I'll clarify that I think a task to compute a constant should a) specify an algorithm to be used, and b) specify the precision to be obtained. &mdash;[[User:Sonia|Sonia]] 19:07, 7 February 2012 (UTC)
Are people missing that the number specified is not Gauss's? agm(1, 1/sqrt(2)) is about .85 and Gauss's, 1/agm(1, sqrt(2)) is about .83. Either way, I'll clarify that I think a task to compute a constant should a) specify an algorithm to be used, and b) specify the precision to be obtained. &mdash;[[User:Sonia|Sonia]] 19:07, 7 February 2012 (UTC)