# Merry Christmas

2015-12-24, post № 93

art, #animated gif, #candles, #Christmas, #Christmas gif, #Christmas tree, #gif, #happy, #happy Christmas, #merry, #merry Christmas, #pixel, #pixel art, #pixel Christmas, #pixel gif, #pixel guy, #tree, #x-mas, #xmas, #xmas gif

Little pixel guy wishes you a Merry Christmas.

2015-12-20, post № 92

art, #Advent, #animated, #animated gif, #candle, #fourth, #fourth candle, #fourth Sunday in Advent, #fourth Sunday of Advent, #gif, #pixel guy, #Sunday

Lighting the fourth candle…

# 𝜋 Approximation

2015-12-19, post № 91

mathematics, programming, Python, #approximating, #approximation, #circle, #circle constant, #constant, #Euler, #infinite, #infinite sum, #pi, #sum

Using an infinite series shown by Euler, 𝜋 can be approximated.
The series goes as follows: $\sum\limits_{n=1}^{\infty}\frac{1}{n^2}=\frac{1}{1^2}+\frac{1}{2^2}+\frac{1}{3^2}+\frac{1}{4^2}+\dots=\frac{\pi^2}{6}$
By rearranging the equation, you get the following: $\pi=\sqrt{6\cdot\big(\frac{1}{1^2}+\frac{1}{2^2}+\frac{1}{3^2}+\frac{1}{4^2}+\dots\big)}$

Source code: pi-approximation.py
Jonathan Frech's blog; built 2021/04/16 21:21:49 CEST