
Recent Posts
Recent Comments
 boomslang on Writing an SVG Library
 boomslang on Finding Prime Numbers – Sieve of Eratosthenes
 boomslang on The Notorious Bubble Sort
 Chris Webb on The Notorious Bubble Sort
 boomslang on The Notorious Bubble Sort
Archives
 August 2017 (3)
 July 2017 (6)
 June 2017 (3)

Monthly Archives: July 2017
Linear Regression: Fitting a Line to Data
In a previous post I implemented the Pearson Correlation Coefficient, a measure of how much one variable depends on another. The three sets of bivariate data I used for testing and demonstration are shown again below, along with their corresponding … Continue reading
Posted in Uncategorized
Leave a comment
Finding Prime Numbers – Sieve of Eratosthenes
Prime numbers have been understood at least since the Ancient Greeks, and possibly since the Ancient Egyptians. In modern times their study has intensified greatly due to their usefulness, notably in encryption, and because computers enable them to be calculated … Continue reading
Posted in Uncategorized
1 Comment
Pearson Correlation Coefficient
Correlation is the process of quantifying the relationship between two sets of values, and in this post I will be writing code in C to calculate possibly the bestknown type of correlation  the Pearson Correlation Coefficient.
Posted in Uncategorized
Leave a comment
The Notorious Bubble Sort
I am sticking my neck out here by implementing the notorious Bubble Sort in C. There are many sorting algorithms and even more variations on a theme, but the bubble sort is probably the best known. It’s simple to understand … Continue reading
Posted in Uncategorized
5 Comments
Calculating Any Term of the Fibonacci Sequence Using Binet’s Formula
You can calculate the Fibonacci Sequence by starting with 0 and 1 and adding the previous two numbers, but Binet’s Formula can be used to calculate directly any term of the sequence. This short project is an implementation of the … Continue reading
Posted in Uncategorized
Leave a comment
Logarithms: a Practical Use
This is a simple little C project demonstrating a useful application of logarithms, with the bonus of a few lines demonstrating localization.
Posted in Uncategorized
2 Comments