OFFSET
0,1
COMMENTS
Related to the pendulum acceleration relation at 72 degrees. 2*Pi*sqrt(l/g)/AGM(1, phi/2) gives the period T of a mathematical pendulum with a maximum deflection angle of 72 degrees from the downward vertical. The length of the pendulum is l and g is the gravitational acceleration.
FORMULA
Equals AGM(1, cos(Pi/5)).
EXAMPLE
0.9019793381143431233972715365...
MATHEMATICA
RealDigits[ArithmeticGeometricMean[1, GoldenRatio/2], 10, 100][[1]] (* Amiram Eldar, Aug 26 2019 *)
PROG
(Python3)
import decimal
iters = int(input('Precision: '))
decimal.getcontext().prec = iters
D = decimal.Decimal
def agm(a, b):
for x in range(iters):
a, b = (a + b) / 2, (a * b).sqrt()
return a
print(agm(1, (D(5).sqrt()+1)/4))
(PARI) agm(1, cos(Pi/5)) \\ Michel Marcus, Apr 05 2020
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Daniel Hoyt, Aug 26 2019
STATUS
approved