Mourad Mourafiq

Ideas, inspirations, and more

Library

On infinity

A closer look at the notion of infinity and countable infinity.

Mourad Mourafiq.
— 3 min read

Intuition behind Poisson distribution

The Poisson distribution could be thought as an experience with an outcome whose distribution sounds binomial, if you think of each second as a Bernoulli trial.

Mourad Mourafiq.
— 2 min read

Intuition behind the Binomial distribution

Calculating the sum of outcomes of things that follow a Bernoulli distribution.

Mourad Mourafiq.
— 3 min read

Generating an excel report with python

Creating pivot table with python/pandas and outputting the result to excel.

Mourad Mourafiq.
— 13 min read

Euler Gamma function approximation for factorials

Euler Gamma function.

Mourad Mourafiq.
— 5 min read

Stirling approximation for factorials

[Part 2] Deriving the Stirling formula.

Mourad Mourafiq.
— 9 min read

Stirling approximation for factorials

[Part 1] Testing the convergence of series.

Mourad Mourafiq.
— 13 min read

Spark context manager

a context manager to communicate with pyspark.

Mourad Mourafiq.
— 2 min read

Infinity of prime numbers.

Proving the infinity of prime numbers, noted as P.

Mourad Mourafiq.
— 2 min read

Intuition behind the Delta Dirac function.

Particular function that is zero everywhere except at zero where it approaches infinity.

Mourad Mourafiq.
— 2 min read

‹ Older