# Math Codified - Derivatives

This equation is probably somewhat familiar to most people who have studied a bit of calculus: $f'(x) = \lim_{h \to 0}\frac{f(x+h)-f(x)}{h}$. Today we are breaking it down and converting it to code to really see how this works, when the math notation has been stripped off.

# Showing that 0.999... = 1 using geometric sums

If you have browsed a forum where math is discussed, it is likely you have seen people claiming both that $0.999... = 1$ and $0.999... \neq 1$. Today I will show you that the first one is correct using geometric sums. You don’t need to take my word for it, you will be able to prove it yourself.

# Making sense of the Monty Hall Problem

The Monty Hall problem is a quiet famous problem where most people’s intuition are wrong. There are many variations of it but I will use one with playing card. It goes like this:

# Gravity Simulator

This is a gravity simulator I have written in python using the library VPython/Glowscript. This project was inspired by an exercise my math teacher gave us where we were supposed to simulate the moon’s orbit around the earth in excel using differential equations.