# Numerical Integration in Nim - Tutorial

This is the first blog post in a series about numerical computations in Nim. Today we will go over numerical integration using Nim, specifically using my library NumericalNim. I will assume you have some experience using Nim, otherwise check out the tutorials here. Let’s begin!

Read More

# 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.

Read More

# 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.

Read More

# 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:

Read More

# 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.

Read More

# Math Codified - Limits

Limits are a concept in math used in various situations, for example when calculating derivatives. Limits are used when a function f(x) isn't defined for a certain input x or if we want to see if the function has a limit at infinity.
Read More

Hello World!

Read More