Tag Cloud

The SIR Model on novel coronavirus

Since a deadly virus appears to be spreading across the globe, I thought it would be useful to explore how this spread is modeled mathematically, and make some predictions about how quickly this can grow. The simplest model of disease spreading starts by breaking a population up into compartments: S (Susceptible) I (Infected) R (Removedī¸) Then, the model describes the flow between these compartments. NOTE: This version of the model works over short periods and ignores births and natural deaths.

Imaginary Numbers Are Real

Numbers solve problems. Some problems are so precisely specified that they can be written as equations. When you learn to count, you start being able to solve problems like “how long until the weekend?”, which can produce equations like $$ x + 2 = 5 $$ Natural number equations give rise to a solution space that looks like this: When we learn how to subtract, we learn how to solve equations like \( x + 1 = 0 \), and when we learn to divide, we learn to solve equations like \( x * 3 = 1 \).

Lossy Image Compression

Every time you take a picture on your phone, most of the data is thrown away. Lossy image compression is the art of throwing away what your eyes won’t notice. Note: at no point will this blog cover middle-out compression the pixels on most screens emit three different colors of light: red , green and blue . The reason those colors where chosen is that human color perception is enabled by cone cells, with cells that respond to red, green and blue light.