3 ms·
Love puzzles? What does this do? rootRadius(p,errorQuotient) == errorQuotient <= 1$R => error "rootRadius: second Parameter must be greater than 1" pp
by daly 10y ago
Love puzzles? What does this do?
rootRadius(p,errorQuotient) ==
errorQuotient <= 1$R =>
error "rootRadius: second Parameter must be greater than 1"
pp : UP := p
rho : R := calculateScale makeMonic pp
rR : R := rho
pp := makeMonic scale(pp,complex(rho,0$R))
expo : NNI := 1
d : NNI := degree p
currentError: R := nthRoot(2::R, 2)
currentError := d20currentError
while nthRoot(currentError, expo) >= errorQuotient repeat
pp := graeffe pp
rho := calculateScale pp
expo := 2 * expo
rR := nthRoot(rho, expo) * rR
pp := makeMonic scale(pp,complex(rho,0$R))
rR
That's my kind of puzzle.
- m_samuel_l 10y agoThe answer is 42