In calculus there is a thing called Taylor Series which provides an easy way to calculate many irrational values to arbitrary precision. Pi/4 = 1 – 1/3 + 1/5 – 1/7 + …But this Taylor series is probably also one of the worst ways to generate PI on a computer. You have to have hugeContinue reading “How to demystify π ?”
Category Archives: Numbers
For Leisel
The main tourist attraction is the Abbey of Saint Gall, a UNESCO World Heritage Site. The Abbey’s (Stiftskirche) renowned library contains books from the 9th century. The official language of St. Gallen is (the Swiss variety of Standard) German, but the main spoken language is the local variant of the Alemannic Swiss German dialect (Erdbeertörtle). TEE-TimeContinue reading “For Leisel”
XML Reloaded
There are lot of possibilities if you’re in need to parse or write XML files: use TXMLDocument (the MSXML wrapper) or use xml components like OmniXML, NativeXml, ADOM, SAX, libxml2, DIXml, fcl-XML, Fast XMLParser, SimpleXML Now here comes another one: VerySimpleXML – a lightweight, one-unit XML reader/writer in under 500 600 lines of code. UseContinue reading “XML Reloaded”
Strange Circles
The use of prior time steps to predict the next time step is called the sliding window method. For short, it may be called the window method in some literature. In statistics and time series analysis, this is called a lag or lag method. The number of previous time steps is called the window widthContinue reading “Strange Circles”
Fibonacci Entanglement
The Fibonacci Sequence is the series of numbers: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89 … https://www.mathsisfun.com/numbers/fibonacci-sequence.html In this blog I want to demonstrate code of 30 programming languages to compute the fibonacci sequence, lets start with Pascal and maXbox: f:=0; g:=1; for it:= 1 to 30 do begin f:=Continue reading “Fibonacci Entanglement”
Pi Numbers
Given that PI is infinite, is it possible that all possible number combinations are available in its decimals? Pi itself is not infinite, but the decimal expansion does go on forever, and it has been proven to be transcendental. So it is possible that all decimal combinations are in this expansion, but as far asContinue reading “Pi Numbers”