Posts Tagged ‘ Just for Fun ’

Animate snowfall in SAS

December 14, 2016
By
Animate snowfall in SAS

Out of the bosom of the Air,     Out of the cloud-folds of her garments shaken, Over the woodlands brown and bare,     Over the harvest-fields forsaken,         Silent, and soft, and slow         Descends the snow. "Snow-flakes" by Henry Wadsworth Longfellow Happy holidays to all my readers! In my last post I showed […] The post Animate snowfall in SAS appeared first on The DO Loop.

Read more »

Create a Koch snowflake with SAS

December 12, 2016
By
Create a Koch snowflake with SAS

I have a fondness for fractals. In previous articles, I've used SAS to create some of my favorite fractals, including a fractal Christmas tree and the "devil's staircase" (Cantor ) function. Because winter is almost here, I think it is time to construct the Koch snowflake fractal in SAS. A […] The post Create a Koch snowflake with SAS appeared first on The DO Loop.

Read more »

Cantor sets, the devil’s staircase, and probability

July 5, 2016
By
Cantor sets, the devil’s staircase, and probability

Last week I blogged about how to draw the Cantor function in SAS. The Cantor function is used in mathematics as a pathological example of a function that is constant almost everywhere yet somehow manages to "climb upwards," thus earning the nickname "the devil's staircase." The Cantor function has three […] The post Cantor sets, the devil's staircase, and probability appeared first on The DO Loop.

Read more »

Visualize the Cantor function in SAS

June 29, 2016
By
Visualize the Cantor function in SAS

I was a freshman in college the first time I saw the Cantor middle-thirds set and the related Cantor "Devil's staircase" function. (Shown at left.) These constructions expanded my mind and led me to study fractals, real analysis, topology, and other mathematical areas. The Cantor function and the Cantor middle-thirds […] The post Visualize the Cantor function in SAS appeared first on The DO Loop.

Read more »

Lo, how a polar rose e’er blooming

December 16, 2015
By
Lo, how a polar rose e’er blooming

Lo how a rose e'er blooming From tender stem hath sprung As I write this blog post, a radio station is playing Chrismas music. One of my favorite Christmas songs is the old German hymn that many of us know as "Lo, How a Rose E're Blooming." I was humming […] The post Lo, how a polar rose e'er blooming appeared first on The DO Loop.

Read more »

Mathematical art (part 2): Unweaving matrices

September 4, 2015
By
Mathematical art (part 2): Unweaving matrices

In my previous blog post, I showed how you can use SAS to program a "weaving" algorithm that takes an image, cuts it into strips, and weaves the strips together to create mathematical art. I used matrices and heat maps for the computations and visualization. At the end of the […] The post Mathematical art (part 2): Unweaving matrices appeared first on The DO Loop.

Read more »

Mathematical art: Weaving matrices

September 2, 2015
By
Mathematical art: Weaving matrices

An artist friend of mine recently created a beautiful abstract image and described the process on her blog. She says that "after painting my initial square, I cut it into strips and split them down the middle, then wove them together.... I had no idea when I started piecing these […] The post Mathematical art: Weaving matrices appeared first on The DO Loop.

Read more »

The distribution of Pythagorean triples by angle

April 15, 2015
By
The distribution of Pythagorean triples by angle

Last week I was chatting with some mathematicians and I mentioned the blog post that I wrote last year on the distribution of Pythagorean triples. In my previous article, I showed that there is an algorithm that uses matrix multiplication to generate every primitive Pythagorean triple by starting with the […]

Read more »

Analyzing the first 10 million digits of pi: Randomness within structure

March 12, 2015
By
Analyzing the first 10 million digits of pi: Randomness within structure

Saturday, March 14, 2015, is Pi Day, and this year is a super-special Pi Day! This is your once-in-a-lifetime chance to celebrate the first 10 digits of pi (π) by doing something special on 3/14/15 at 9:26:53. Apologies to my European friends, but Pi Day requires that you represent dates […] The post Analyzing the first 10 million digits of pi: Randomness within structure appeared first on The DO Loop.

Read more »

Binary heart in SAS

February 11, 2015
By
Binary heart in SAS

The xkcd comic often makes me think and laugh. The comic features physics, math, and statistics among its topics. Many years ago, the comic showed a "binary heart": a grid of binary (0/1) numbers with the certain numbers colored red so that they formed a heart. Some years later, I […]

Read more »


Subscribe

Email:

  Subscribe