Tag: math
The problem of ‘Tower of Hanoi’ is a very classic problem/puzzle that is often used to teach recursion in Computer Science. The problem can be described as moving a …
This article will compare the floating point performance based on the following piece of Pascal code, between the Delphi 2007 and XE3 to see the difference at different configurations …
The math constant e can be computed using the following series (also see this, this and this post): i.e. If we combine every two iterations, we will get something like, If …
Timus online judge is my favorite. There are many compilers that are on windows platform, for example, Visual Studio. Does the judge accept program that embeds inline assembly ? …
The Ackermann function is mathematically defined as: The Ack function is well-defined total math function which is compute-able but not a primitive recursive function. Its value grow so quickly …