Stirling’s approximation is a powerful mathematical formula which can be used to estimate the value of N! (factorial of N).
Pi, denoted by the Greek letter π, is an important mathematical constant that represents the ratio of a circle’s circumference to its diameter and is an irrational number, meaning it cannot be expressed as a finite decimal or a fraction.
Here we will implement and plot two cool patterns in python, where each pattern depicts a number spiral.
The Sierpiński triangle is an example of a fractal, which is a pattern that repeats itself at different scales.