anoved.net: February 2008anoved.net logo

Posted on Friday, February 29, 2008:

State Abbreviations Service

Here’s a little service for Mac OS X that replaces the selected US state name with its postal abbreviation, or vice versa. If NY is selected, it will be replaced with New York. If New York is selected, it will be replaced with NY. Case doesn’t matter.

Download State Abbreviations Service 63K

9:19 AM Comment (0)

A More Perfect Union

You’ve heard about the military-industrial complex. Have you heard about the prison-industrial complex? One in a hundred Americans are in jail. You know a hundred people. If none are in jail, consider those who stand on the other side of average. Johnny, we miss you.

Speaking of prisons, you’ve probably heard about Abu Ghraib. I want you to look at some pictures taken there. Expect blood, shit, unhappy genitalia, and healthy young women smiling over dead bodies—you know, reassuring evidence of the harsh but justifiable means that keep our world safe from cruelty and pain.

I want you to look at those pictures because I want you (friends, family, acquaintances) to think about how things like that came to happen. I don’t claim to know, myself, nor am I particularly interested in ascribing blame, but the fact that such events took place, in any context, really bothers me.

(We now return you to our regularly scheduled program of AppleScripts, LDraw, and, apparently, math!)

1:01 AM Comment (0)

Posted on Thursday, February 28, 2008:

Radians

I never used to understand radians. Sure, I knew how to use them in typical math problems, but splitting a circle into 2π units? Who divides a circle into six point something parts? You’ve got a useless little slice left over.

Well, remember the formula to find the circumference, C, of a circle? It’s C = πd, where d is the diameter of the circle. The diameter is simply twice the radius r, so you can also define the circumference as C = 2πr.

Consider a circle whose radius is one (the unit circle). Its circumference is simply 2π:

2pi

The circumference of a circle is the the distance around its edge. If you don’t go all the way around the unit circle, the length of the arc you do traverse should be less than 2π, right? It might be ¼π, ½π or plain old π if you only go an eighth, a quarter, or a half way around the circle.

pi4 pi2 pi

Look at the wedges created by arcs with these lengths: they describe 45, 90 and 180 degree angles. The radian equivalents of these angles are ¼π, ½π, and π.

angle-pi4 angle-pi2 angle-pi

That’s it. A radian angle measurement is the length of the biggest arc that will fit in unit pacman’s mouth!

pacman60

Their close connection with the basic geometry of circles makes radians convenient for a variety of purposes. But don't worry, degrees are cool, too: 360, that’s what, almost as many days as there are in a year? Close enough for pagan ceremonies and government work!

3:52 PM Comment (0)

Posted on Monday, February 25, 2008:

Pascal's Triangle

Recently I was introduced (or perhaps reintroduced) to Pascal’s Triangle, an arrangement of integers that lends itself to a variety of purposes, including binomial expansion. I’ve written a little program to explore this aspect of the idea.

Explanation? Bah. Experiment!

Features

Screenshots

Mac OS X looking at a large expansion Windows as seen on WINE X11 (has font issues)

Download

10:55 PM Comment (0)

Posted on Saturday, February 2, 2008:

The Trammel Method

A trammel is an impediment to freedom or motion. By placing some geometric restrictions on the motion of a pen or pencil, specific types of figures can be drawn. The trammel method is one of many ways to apply this principle to the construction of ellipses (circles and ovals). It’s particularly handy if you need to draw a large curve without a compass.

Draw a pair of perpendicular lines where you’d like to place an ellipse. I’ve labeled them as major (long) and minor (short) axes.

Axes

On a piece of scrap paper, mark the length of a minor radius. (Place the corner of the scrap paper at one end of the minor axis and mark where the axes cross.)

Minor Mark

Then mark the length of half the major axis from the same corner.

Major Mark

Now slide the minor mark along the major axis and the major mark along the minor axis. (The marks on the scrap paper ride the opposite rails.) Make a dot at the corner of the scrap paper at any position that satisfies these conditions.

Marking Dots

Since the marks on the scrap paper can’t leave their rails, you’ll draw a dot right at the tip of an axis whenever the corresponding mark passes through the intersection of axes.

Marking Dots...

Mark dots in each quadrant of the ellipse.

Marking More Dots...

See where this is leading? The major mark is still sliding along the minor axis and the minor mark is still sliding along the major axis.

Marking Even More Dots...

Eventually, you’ll have a series of dots describing the perimeter of the ellipse you planned. The more dots you plot, the smoother the outline.

Complete

All that’s left to do is connect the dots.

Connect the Dots

A circle is a special sort of ellipse in which the major and minor axes are simply the same length. In this example, I’ve just drawn one diameter since only one mark is really needed. (Both marks would fall at the same point, technically, anchoring the card to the center of the circle.)

Circle

This technique is often attributed to Archimedes, mover of worlds. (With a long enough lever, and a place to stand...)

1:06 PM Comment (0)