Mathematica is a computational, mathematics, tool. It is shipped free with Raspberry Pi. In this blog entry, we will look at some basic functions to get you started quick on the subject. To fire up Mathematica on Raspberry Pi, either click on the Mathematica icon or on the Wolfram icon for command line interface (see … Continue reading Introduction to Wolfram Mathematica
An interesting convergence sequence generator – Kappa Function
In the article Finding Intermediate Values in Arithmetic Mean a linear formula was obtained to solve intermediate values in an Arithmetic Mean sequence. The same problem of finding the intermediate values on the Geometric Mean sequence was placed, refer to paper. During the simplification process the following sequence generator was observed. Running the sequence for … Continue reading An interesting convergence sequence generator – Kappa Function
Linq Deferred Loading impact on atomic operators
When working with Atomic Operators and deferred operations provided by the Linq extensions, it is important to understand the behaviour of the program. Consider the following code: int i = 10; var q = (from m in Enumerable.Range(1, 5) select ++i + i++); foreach (var n in q) { Console.WriteLine(“i = {0}; n = {1}; … Continue reading Linq Deferred Loading impact on atomic operators
Geometric Mean
Geometric Mean is another way of finding the average of a sample. While the Arithmetic Mean takes the sum of the sample divided by the sample size, the geometric mean takes the root of the sample items product. In Mathematical Notation this is written as: Note: The Geometric Mean symbol used in the expression above, … Continue reading Geometric Mean
Finding Intermediate Values in Arithmetic Mean Sequence
The following article is inspired from https://brilliant.org/daily-problems/average-visual/ of March 17th, 2019. The Arithmetic Mean Sequence for any 2 numbers, a1 and a2, is a progressive series of numbers where each number is the Arithmetic Mean of the previous 2 numbers, starting the sequence with a1 and a2. Solving intermediary values in the sequence Let x … Continue reading Finding Intermediate Values in Arithmetic Mean Sequence