Bezmaksas piegāde pasūtījumiem virs 29€

  • check 10+ miljoni grāmatu
  • check Jaunumi katru dienu
  • check Vairāk nekā 1 miljons klientu mums uzticas
  • check Labas cenas un atlaides
  • check Piegāde visā Eiropā

Spigot Algorithm: Algorithm, Bailey-Borwein-Plouffe Formula -

angļu valoda
2026-03-20
181,35 € 259,07 €

-30% ar kodu BOOKS

Piegādātāja noliktavā

Piegāde 15-21 darba dienu laikā

30 dienu atgriešanas politika

High Quality Content by WIKIPEDIA articles! A spigot algorithm is an algorithm used to compute the value of a mathematical constant such as ¿ or e. Unlike recursive algorithms, a spigot algorithm yields digits incrementally without using previously computed digits. The Bailey-Borwein-Plouffe formula for the binary digits of ¿ is an example of a spigot algorithm. This example illustrates the working of a spi ... Pilns apraksts

Jums varētu patikt arī

Aprašymas

High Quality Content by WIKIPEDIA articles! A spigot algorithm is an algorithm used to compute the value of a mathematical constant such as ¿ or e. Unlike recursive algorithms, a spigot algorithm yields digits incrementally without using previously computed digits. The Bailey-Borwein-Plouffe formula for the binary digits of ¿ is an example of a spigot algorithm. This example illustrates the working of a spigot algorithm by calculating the binary digits of the natural logarithm of 2 (sequence A068426 in OEIS) using the identity ln(2)=sum_{k=1}^{infty}frac{1}{k2^k}, . To start calculating binary digits from, say, the 8th place we multiply this identity by 27: 2^7ln(2) =2^7sum_{k=1}^{infty}frac{1}{k2^k}, . We then divide the infinite sum into a "head", in which the exponents of 2 are greater than or equal to zero, and a "tail", in which the exponents of 2 are negative: 2^7ln(2) =sum_{k=1}^{7}frac{2^{7-k}}{k}+sum_{k=8}^{infty}frac{1}{k2^{k-7}}, . We are only interested in the fractional part of this value, so we can replace each of the terms in the "head" by frac{2^{7-k} mod k}{k}, .

Vairāk informācijas

Izdevējs OmniScriptum
Izlaides gads 2026
Vāka tips Mīkstais vāks
EAN 9786131189302
Rakstiet savu atsauksmi
Jūs vērtējat: Spigot Algorithm: Algorithm, Bailey-Borwein-Plouffe Formula
Jūsu novērtējums:

Goodreads atsauksmes

181,35 € 259,07 €