A Recursive Process

Mandelbrot Fractal v2

April 5, 2014, 12:00 am

I had so much fun with the original Mandelbrot program that I decided to see if I could improve it. I was amazed by how easily I was able to generate a fractal picture that looked exactly like other pictures online. I didn’t look at anyone else’s code, just went down the path and the amazing Mande...

Continue Reading...

Mandelbrot Fractal

March 27, 2014, 12:00 am

I was inspired by a My Favorite presentation from a student on the Mandelbrot fractal. I played around for a half hour at school without a ton of success, but I sorted out the sticking points on the way home, and finished it up tonight. Amazingly simple (the code may not look simple, but it’s all...

Continue Reading...

Chaos Game v2

March 19, 2014, 12:00 am

I prepared a small demonstration of the Chaos game for some math teachers. First we used transparencies, markers, dice, and rulers, but humans are mistake-prone and slow.
20140319-101745.jpg

To The Computer!

I decided to experiment with the rules of the game to see where it’d go.

Human Error

What happens wh...

Continue Reading...

Buffon’s Needle is a famous way to (slowly) estimate \pi.
Here’s a processing.org program to calculate \tau (to keep the math-hipster hatred of \pi-day at a critical point and concave up).

Link to live simulation and code. All variables are easy to change, size of window, length of needle, spacin...

Continue Reading...

Power Series on Desmos

March 5, 2014, 12:00 am

This is a crosspost from my Photo 180 blog.

Power Series work in AP Calculus BC.

\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{2n+1}}{(2n+1)!}=\frac{x}{1!}-\frac{x^3}{3!}+\frac{x^5}{5!}-...

Process: Since it’s a infinite series, look at partial sums to get an idea what this graph looks like.
So look at
y_1=\frac{x}{1!}
y_2=\frac{x}{1!}-\frac{x^3}{3!}
y_2=\frac{x}{1!}-\frac{x^3}{3!}+\frac{x^5}{5!}

Perfect time to use technology.

Texas Instruments Method

Go to y1. Enter in y=x.
Gra...

Continue Reading...

Brian Greene’s take on teachers.

February 5, 2014, 12:00 am

Fantastic.

Continue Reading...

Two James Tanton Questions

January 28, 2014, 12:00 am

It’s midterm week at school, and James Tanton threw out two interesting questions in two days. I spent a little time programming “solutions” to these problems (not solutions, just verifications for an infinitesimally small portion of the natural numbers).

Problem One:

Continue Reading...

Prime Matrix – Processing

January 16, 2014, 12:00 am

Saw this tweet yesterday:

Pretty cool. Josh Giesbrecht also did some great work with Mathematica to replicate the image.

Continue Reading...

Four and Five – Cartalk Puzzler

January 4, 2014, 12:00 am

From cartalk.

Ray: Get a piece of paper and write the number four, leave a little space, and write the number five. What common mathematical symbol, when placed between the numbers four and five, will result in a number that is greater than four but less than six?

Tom: It has to be a mathem...

Continue Reading...

Pebbling a Checkerboard Game (Or Chessboard)

December 20, 2013, 12:00 am

I happened upon this tweet when I got to work this morning:

So I watched the fantastic numb...

Continue Reading...