Archive for August, 2008

Making Art with Harmonographs

August 30, 2008

Harmonographs are mechanical devices that employ coupled pendula (aka: “pendulums”) to control the movement of a pen relative to a drawing surface (e.g., a sheet of paper). The pen’s motion can produce some strikingly beautiful curves.

I had never heard of harmonographs until I read Mike Croucher’s post: Simulating Harmonographs. Instead of building a physical apparatus, Mike simulated harmonographs with Mathematica. The resulting drawings are indeed most aesthetically pleasing:

[ image courtesy of Mike Croucher ]

Drawings produced with harmonographs remind me of the drawings I used to make with the Spirograph toy when I was a kid. They also remind me of the Lissajous curves I liked to visualize on the oscilloscope when I was an undergraduate student and spent countless hours in the electronics laboratory.

__________

Some links:

The Water and Wine Problem

August 8, 2008

Here’s the “water and wine” problem:

Take two glasses, A and B. Initially, A is full of water and B is full of wine. Remove a teaspoon of water from A and put it in B, then a teaspoon of the mixture in B and put it in A. In what proportions are the water and wine now mixed in A and B? What are the proportions of water and wine in each glass after n iterations?

This problem is quite recreational. I really like it. Give it a try!

I found and solved this problem in August 2006. I believe the problem statement is somewhat loose: a mathematician might believe he has all the information he needs, but a chemist will likely find the problem to be ill-posed. Some assumptions would help to clarify things.

__________

Assumptions

For the sake of clarity and simplicity, let us make some assumptions:

  • conservation of volume: when we add two liquids together, the volume of the mixture can be less than the sum of the individual volumes. In fact, this happens when we add water and ethanol together. And we all know that wine contains ethanol. Nevertheless, in order to make the problem tractable, let us assume that volume is preserved, so that when we add water and wine together, the volume of the mix is the sum of the individual volumes.
  • perfect homogeneity: water and ethanol are miscible. We will assume that wine will perfectly dissolve in water (and vice-versa), so that we obtain a perfectly homogeneous solution. Thus, any teaspoon of liquid we take from either glass will always contain water and wine in the same proportions.
  • no leakage: we assume that no liquid drips from the teaspoon while we are transferring liquid from one glass to the other. We also assume that the water does not evaporate. Thus, the total volumes of water and wine in the system remain constant no matter how many transfers we carry out. In other words, the “system” (the two glasses) is closed: no liquid comes in, no liquid is leaked.
  • big teaspoon: let us assume that the teaspoon’s capacity is at least greater than each glass’ capacity. Thus, we can transfer all the liquid in one glass to the other glass, and no liquid will be spilled. Lastly, let us assume that the capacity (i.e., maximum volume that the glass can hold) of each glass is greater than the total volume of liquid in the “system”, so that we can transfer all the liquid in one glass to the other without any spilling.

Given these assumptions, when we take a teaspoon of liquid from glass A and add it to glass B, the volume of liquid in glass B after the mix is the sum of the volume of liquid in glass B before the mix and the volume of liquid in the teaspoon.

It has been quite a few years since I last studied Chemistry, so please forgive me if my explanation is not very accurate, or if I misused technical terms.

__________

Related:


Follow

Get every new post delivered to your Inbox.

Join 76 other followers