Algoritmy pro výpočet Ludolphova čísla a ověření normality jeho aproximací
Algorithms for calculation of Ludolph's number and normality verification of its aproximations
Type of document
bakalářská prácebachelor thesis
Author
Martin Kostrubanič
Supervisor
Šimeček Ivan
Opponent
Kalvoda Tomáš
Field of study
Teoretická informatikaStudy program
Informatika 2009Institutions assigning rank
katedra teoretické informatikyRights
A university thesis is a work protected by the Copyright Act. Extracts, copies and transcripts of the thesis are allowed for personal use only and at one?s own expense. The use of thesis should be in compliance with the Copyright Act http://www.mkcr.cz/assets/autorske-pravo/01-3982006.pdf and the citation ethics http://knihovny.cvut.cz/vychova/vskp.htmlVysokoškolská závěrečná práce je dílo chráněné autorským zákonem. Je možné pořizovat z něj na své náklady a pro svoji osobní potřebu výpisy, opisy a rozmnoženiny. Jeho využití musí být v souladu s autorským zákonem http://www.mkcr.cz/assets/autorske-pravo/01-3982006.pdf a citační etikou http://knihovny.cvut.cz/vychova/vskp.html
Metadata
Show full item recordAbstract
Práce se zabývá Ludolfovým číslem, algoritmy pro jeho výpočet a jeho normalitou. V teoretické části je popsáno Ludolfovo číslo a vybrané algoritmy pro jeho aproximaci. V praktické části jsou tyto algoritmy implementovány pomocí knihovny GNU-MPFR. Dále je porovnána rychlost jejich konvergence. V poslední části práce je zkoumáno, jestli jsou aproximace Pí normální čísla. K tomuto účelu je porovnán výskyt jednotlivých číslic a řetězců délky 2 v desítkové a šestnáctkové bázi. Při testování rychlosti konvergence vycházejí nejlépe Chudnovskyho algoritmus a Gauss-Legendreho algoritmus. Na základě výsledků získaných při vyšetřování normality je možné říci, že zkoumané aproximace jsou normální čísla. Thesis deals with Ludolphian number, algorithms for calculating its value and its normality. Ludolphian number and chosen approximation algorithms are described in the theoretical part. These algorithms are implemented with GNU MPFR library in the practical part. The speed of convergence of those algorithms is also measured. At the end, the normality of approximations of Pi is tested. The occurrence of single digits and strings of length 2 in base 10 and 16 is compared for this purpose. The biggest speed of convergence was measured by Chudnovsky algorithm and Gauss-Legendre algorithm. By results achieved from normality testing it is safe to say, that tested approximations of Pi are normal numbers.
Collections
- Bakalářské práce - 18101 [335]