Why hillwalkers should love the Comte de Buffon

Part of Beinn a Bhuird, Cairngorms, Scotland.

Wandering the mountains of the UK has been a big part of my life. You won’t be surprised that before I start a long walk I like to know roughly what I’m letting myself in for. One part of this is estimating how far I’ll be walking.

Several decades ago my fellow student and hillwalking friend David told me of a quick and simple way to estimate the length of a walk. It uses the grid of kilometre squares that is printed on the Ordnance Survey maps that UK hillwalkers use.

To estimate the length of the walk, count the number of grid lines that the route crosses, and divide by two. This gives you an estimate of the length of the walk in miles.

Yes, miles, even though the grid lines are spaced at kilometre intervals. On the right you can see a made-up example. The route crosses 22 grid lines, so we estimate its length as 11 miles.

Is this rule practically useful? Clearly, the longer a walk, the more grid lines the route is likely to cross, so counting grid lines will definitely give us some kind of measure of how long the walk is. But how good is this measure, and why do we get an estimate in miles when the grid lines are a kilometre apart?

I’ve investigated the maths involved, and here are the headlines. They are valid for walks of typical wiggliness; the rule isn’t reliable for a walk that unswervingly follows a single compass bearing.

  • On average, the estimated distance is close to the actual distance: in the long run the rule overestimates the lengths of walks by 2.4%.
  • There is, of course, some random variation from walk to walk. For walks of about 10 miles, about two-thirds of the time the estimated length of the walk will be within 7% of the actual distance.
  • The rule works because 1 mile just happens to be very close to \frac{\pi}{2} kilometres.

The long-run overestimation of 2.4% is tiny: it amounts to only a quarter-mile in a 10-mile walk. The variability is more serious: about a third of the time the estimate will be more than 7% out. But other imponderables (such as the nature of the ground, or getting lost) will have a bigger effect than this on the effort or time needed to complete a walk, so I don’t think it’s a big deal.

In conclusion, for a rule that is so quick and easy to use, this rule is good enough for me. Which is just as well, because I’ve been using it unquestioningly for the past 35 years.

And the Comte de Buffon?

The Comte de Buffon

George-Louis Leclerc, Comte de Buffon,  (1707-1788) was a French intellectual with no recorded interest in hillwalking. But he did consider the following problem, known as Buffon’s Needle:

Suppose we have a floor made of parallel strips of wood, each the same width, and we drop a needle onto the floor. What is the probability that the needle will lie across a line between two strips?

Let’s recast that question a little and ask: if the lines are spaced 1 unit apart, and we drop the needle many times, what’s the average number of lines crossed by the dropped needle? It turns out that it is

\dfrac{2l}{\pi}

where l is the length of the needle. Now add another set of lines at right angles (as if the floor were made of square blocks rather than strips). The average number of lines crossed by the dropped needle doubles to

\dfrac{4l}{\pi}

Can you see the connection with the distance-estimating rule? The cracks in the floor become the grid lines, and the needle becomes a segment of the walk. A straight segment of a walk will cross, on average, \frac{4}{\pi} grid lines per kilometre of its length. Now a mile is 1.609 kilometres, so a segment of the walk will, on average, cross \frac{4}{\pi} \times 1.609 = 2.0486... grid lines per mile, which is very close to 2 grid lines per mile, as our rule assumes. If a mile were \frac{\pi}{2} km (1.570… km), we’d average exactly 2 grid lines per mile.

So the fact that using a kilometre grid gives us a close measure of distance in miles is just good luck. It’s because a mile is very close to \frac{\pi}{2} kilometres.

In a future post, I’ll explore the maths further. We’ll see where the results above come from, and look in more detail at walk-to-walk variability. We’ll also see why results that apply to straight lines also apply to curved lines (like walks), and in doing so discover that not only did the Comte de Buffon have a needle, he also had a noodle.

Mathematical typesetting by QuickLaTeX.

 

Decisions of cricket umpires

In this post I offer a suggestion for a practically imperceptible change to the laws of cricket that might eliminate controversies to do with adjudications by match officials. The suggestion could apply to any other sport, so even if you aren’t a cricket lover, please read on.

My suggestion doesn’t affect the way the game is played in the slightest. It simply takes a more realistic philosophical angle on umpires’ decisions.

Cricket is a bat-and-ball ‘hitting and running’ game in the same family as baseball and rounders. In these games, each player on the side that is batting can carry on playing (and potentially scoring) until they are “out” as a result of certain events happening. For example, in all of these games, if a batsman* hits the ball and the ball is caught by a member of the other team before it hits the ground, the batsman is out.

In cricket, there are several ways that a batsman can be out. Some of these need no adjudication (eg bowled), but most require the umpire to judge whether the conditions for that mode of dismissal have been met. In the case of a catch, for example, the umpire must decide whether the ball has hit the bat, and whether it was caught before touching the ground. Contact with the bat is most often the source of contention, because catches are often made after the ball has only lightly grazed the edge of the bat.

The umpire’s position is unenviable. They have to make a decision on the basis of a single, real-time, view of the events, and their decisions matter a great deal. The outcome of a whole match (and with it, possibly the course of players’ careers) can hinge on one decision. It’s not surprising that umpire’s decisions are the cause of much controversy.

For most of the history of cricket, the on-field umpire’s judgement has been the sole basis for deciding whether a batsman is out. This is still true today for nearly all games of cricket, but at the highest levels of the game, an off-field umpire operates, using slow motion video, computer ball-tracking, and audio (to hear subtle contact of the ball with the bat). The on-field umpires (of which there are two) can refer a decision to the off-field umpire, and the players have limited opportunities to appeal against the decisions of the on-field umpires. From now on we’ll call the off-field umpire the “3rd umpire”, as is commonly done.

One of the intentions behind all of this was to relieve the pressure on the on-field umpires, but it appears that the opposite has been the case. In a recent Test Match between England and Australia, one of the umpires had 8 of his decisions overturned on appeal to the 3rd umpire. This led to much criticism and must have been excruciating for him.

Here’s a suggestion for a small modification to the laws of cricket that wouldn’t change the course of any match that didn’t have a 3rd umpire, but which would put the on-field umpires back in charge and relieve much of the pressure on them. As a bonus, it would settle another thorny issue in the game – whether batsmen should “walk” or not (see later).

The suggestion

I’ll use the judgement “did the ball touch the bat?” as an example, but the same principle applies to any judgement of events in the game. We’ll assume that the ball was clearly caught by a fielder, so that contact with the bat is the only matter at issue.

There are three elements to an umpire’s decision: the physical events, the umpire’s perception of those events, and the decision based on that perception. We can represent these elements in a diagram:

For our specific example, the diagram looks like this:

Because our perceptual systems are imperfect, the umpire’s perception of events doesn’t necessarily correspond to the actual course of events. They may perceive that the ball has hit the bat when it hasn’t, or vice versa. This source of error is represented by linking the left-hand boxes by a dashed arrow.

On the other hand, the umpire has perfect access to their own perceptions, so the final decision (out/not out) follows inevitably from those perceptions (provided that the umpire is honest). This inevitable relationship is represented by linking the right-hand boxes by a solid line.

Now, at present, the law is specified in terms of the physical events that occurred. This means that, because the umpire’s perception is imperfect, the umpire can make an incorrect decision: one that is not in accord with those physical events.

However, in any match without a 3rd umpire (ie practically all cricket) the umpire is the sole arbiter of whether a batsman is out or not. So regardless of the actual laws, the de facto condition for whether a batsman is out is the umpire’s perceptions, not the physical events, like this:

My suggestion is simply to be honest about this state of affairs and enshrine it in the laws.

Thus, the relevant part of the law, instead of reading (as it does at present):

…if [the] … ball … touches his bat…

would read

…if the ball appears to the umpire to touch the bat (regardless of whether it did actually touch the bat)…

This may seem like a strange way to word the law, but it’s just codifying what happens anyway in nearly all cricket. The course of all cricket matches that don’t have 3rd umpires, past, present, and future, would be entirely unchanged. We’d be playing exactly the same game. The only difference is that all umpires’ decisions would, by law, be correct, and so the pressure on them would be removed.

The other main advantage of my proposal would that it would render 3rd umpires and all their technology irrelevant, and we could get on with the game instead of waiting through endless appeals and reviews. Cricket would once again accord with the principle that a good game is one that can be played satisfactorily at all levels with the same equipment. And the status of the umpires would be restored to being arbiters of everything, rather than being in danger of being relegated to mere ball-counters and cloakroom attendants.

The opposition

I have to confess that no-one I’ve spoken to thinks that this is a good idea. There seem to be two counterarguments. The first is somewhat vague – that there’s something a bit airy-fairy about casting the law in terms of events in someone’s brain rather than what actually happened to balls and bats. I might agree with this argument if my proposal actually changed the decisions that umpires make, but it doesn’t – the only things that change are the newspaper reports and the mental health of umpires.

The second counterargument is more substantial. Under my proposal, even an umpire with spectacularly deficient vision could never make an incorrect decision. Likewise, a corrupt umpire would have a field day (so to speak). Yet quite clearly, we do only want to employ umpires whose decisions are generally “accurate”, in the sense that they reflect what actually happened. My proposal is quite consistent with maintaining high umpiring standards. At the beginning of any match, we appoint umpires, and by doing so we define their decisions to be correct for that match. That doesn’t stop us later (say, at the end of the season) reviewing their decisions en masse and offering training (or unemployment) if the decisions appear to consistently misrepresent what actually happened. Again, this is roughly what actually happens at the moment. Players (usually) accept the umpire’s decision as it comes, but at the end of the game, the captains report on the standard of umpiring. All I’m doing is changing the way we regard the individual decisions.

To walk or not to walk?

My proposal eliminates another controversy in the game: what does a batsman do if they know that the ball has touched their bat and been caught, but the umpire doesn’t see the contact and gives them “not out”?

Some people say that the batsman should “walk” – that is, give themself “out” and head for the pavilion. Others say that the batsman should take every umpire’s decision as it comes, never “walking”, but also departing without dissent if they have been wrongly given “out”. It is possible to make a consistent and principled argument for either position.

With my version of the laws, all of this argument vanishes. Only one position is now valid: batsmen should never “walk”. A batsman may feel the ball brush the edge of their bat on its way to the wicket-keeper’s gloves, but if the umpire perceives that no contact occurred, it is not a mistake – the batsman is purely and simply not out under the law.

 

* Batsman or batter?

In recent years the term batter has come into use alongside batsman, in some cases as a conscious effort to use a gender-neutral term. It’s interesting to note that the women’s cricket community doesn’t seem to be particularly enthusiastic about batter (nor indeed batswoman) and there seems to be a long-standing preference for batsman. See, for example, this blog post, which explores the history of the matter a little. Note also that since 2017 the Laws of Cricket have been written in a gender-neutral style using he/her his/her throughout, but nevertheless retain batsman. My understanding is that this has been done in consultation with the women’s cricket community.

 

Bradycardia

Here again is the processor package from my old laptop. The processor has a clock in it that delivers electric pulses that trigger the events in the processor. The clock on this processor “ticks” at 2.2 gigahertz, that is, it sends out 2.2 billion pulses per second.

Over two thousand million pulses every second! How can we make sense of such a huge number?

In this post, I’m going to do with time what I did with space in the previous post. I’m going to ask the question:

Suppose that we slow down the processor so that you could just hear the individual “ticks” of the the processor clock (if we were to connect it to a loudspeaker), and suppose that we slow down my bodily processes by the same amount. How often would you hear my heart beat?

Answer: My heart would beat about once every year and a half.

The calculation

How slow would the processor clock need to tick for me to be able to hear the individual ticks? A sequence of clicks at the rate of 10 per second clearly sounds like a series of separate clicks. Raise the frequency to 100 per second, and it sounds like a rather harsh tone; the clicks have lost their individual identity. Along the way, the change from sounding like a click-sequence to sounding like a tone is rather gradual; there’s no clear cutoff.

You can try it yourself using this online tone generator. Choose the “sawtooth” waveform. This delivers a sharp transition once per cycle, which is roughly what a train of very short clicks would do, and play around with the value in the “hertz” box. (Hertz is the unit of frequency; for example, 20 hertz is 20 cycles per second.)

I found that a 40 hertz sawtooth definitely sounds like a series of pulses, and that a 60 hertz sawtooth has a distinct tone-like quality. So let’s say that the critical frequency is 50 hertz, that is, 50 ticks per second. I don’t expect you to agree with me exactly.

If I can hear individual pulses at a repetition rate of 50 hertz, then to hear the ticks of a 2.2 gigahertz clock I need to slow down the clock by a factor of

(1)   \begin{equation*}   \frac{2.2 \times 10^9}{50} = 44 \times 10^6 \end{equation*}

At rest, my heart beats about once per second, so if it was slowed down by the same factor as the processor clock, it would beat every 44 × 106 seconds, which is about every 17 months.

Or should it be twice as long?

The signal from the processor clock is usually a square wave with 50% duty cycle. Try the square wave option on the online signal generator with a 1 hertz frequency (one cycle per second). You’ll hear two clicks per second, because in each cycle of the wave, there are two abrupt transitions, a rising one and a falling one.

This means that if we did connect a suitably slowed-down processor clock to a loudspeaker, we’d hear clicks at twice the nominal clock rate. Looked at this way, we’d need to slow down the clock, and my heart, twice as much as we’ve calculated above. My heart would beat once every three years.

However, most processors don’t respond to both transitions of the clock signal. Some processors respond to the rising transition, others to the falling transition. To assume that we hear both of these transitions is to lose the spirit of what we mean by one “tick” of the processor clock.

 

 

Making the micro macro

What is this strange collection of pillars, one of which is propping me up? Read on to find out. Many thanks to Graham Rose for the ilustration.

 

On the right is the processor package from my old laptop. The numbers processor chipassociated with microelectronic devices like this one are beyond comprehension. The actual processor – the grey rectangle in the middle – measures only 11 mm by 13 mm and yet, according to the manufacturer, it contains 291 million transistors. That’s about 2 million transistors per square millimetre.

To try to bring these numbers within my comprehension, I asked the following question:

If I were to magnify the processor – the grey rectangle – so that I could just make out the features on its active surface with my unaided eye, how big would it be?

The answer is that the processor would be something like 15 metres across.

Consider that for a moment: an area slightly larger than a singles tennis court, packed with detail so fine that you can only just make it out.processor pins

The package that the processor is part of would be over 50 metres across, and the pins on the back of the package (right) would be 3 metres tall, half a metre thick, and about 2 metres apart.

Caveat

The result above is rather approximate, as you’ll see if you read the details of the calculation below. However, if it inadvertently overstates the case for my processor, which is 10 years old, the error is made irrelevant by progress in microprocessor fabrication. Processors are available today that are similar in physical size but on which the features are nearly 5 times smaller. If my processor had that density of features, the magnified version would be around 70 metres across, on a package 225 metres across. And those pins would be 13 metres tall and 2.25 metres thick.

The calculation

The processor is an Intel T7500. According to the manufacturer, the chip is made by the 65-nanometre process. Exactly what this means in terms of the size of the features on the chip is quite hard to pin down. Printed line widths can be as low as 25 nm, but the pitch of successive lines may be greater than the 130 nm that you might expect. I’ve assumed that the lines on the chip and the gaps between them are all 65 nm across.

“The finest detail that we can make out” isn’t well defined either. It depends, among other things, on the contrast.  But roughly, the unaided human visual system can resolve details as small as 1 minute of arc subtended at the eye in conditions of high contrast. This is about 3 × 10-4 radians. At a comfortable viewing distance of 30 cm, this corresponds to 0.09 mm.

So to make the features on the processor just visible (taking high contrast for granted) we need to magnify them from 65 nm to 0.09 mm, which is a magnification factor of 1385.

Applying this magnification factor to the whole processor, its dimensions of 11 by 13 millimetres become 15 by 18 metres. The pins are 2 mm high, so they become 2.8 metres high and about half a metre thick.

Some processors are now made using 14 nm technology. This increases the required magnification factor by a factor of 65/14, to 6430, yielding the results given in Caveat above.

 

 

Anticrepuscular rays

Converging rays

I took this photograph at dusk recently from the beach at Portobello, where Edinburgh meets the sea. As sunset pictures go, it’s not much to look at. But what caught my attention was the faint radiating pattern of light and dark in the sky.  The light areas are where the sun’s rays are illuminating suspended particles in the air. The dark areas are where the air is unlit, because a cloud is casting a shadow.  You may have seen similar crepuscular rays when the sun has disappeared behind the skyline and the landscape features on the skyline cast shadows in the air.

The rays in my picture appear to radiate from a point below the horizon, because that’s where the sun is…isn’t it?

No! Portobello beach faces north-east, not west. The sun is actually just about to set behind me! So why do the rays appear to come from a point in front of me? Shouldn’t they appear to diverge from the unseen sun behind me?

To understand why, we need to realise that the rays aren’t really diverging at all. The Sun is a very long way away (about 150 million kilometres), so its rays are to all intents and purposes parallel. But just as a pair of parallel railway tracks appear to diverge from a point in the distance, so the parallel rays of light appear to diverge from a point near the horizon.

The point from which the rays seem to diverge is the antisolar point, the point in the sky exactly opposite the sun, from my point of view. It’s where the shadow of my head would be. When I took the photograph, the sun was just above the horizon in the sky behind me, so the antisolar point, and hence the point of apparent divergence, is just below the horizon in the sky ahead of me.

For normal crepuscular rays, the (obscured) sun is ahead, and the light is travelling generally* towards the observer. The rays in the picture are anticrepuscular rays, because the light is generally travelling away from me. This was the first time that I had knowingly seen anticrepuscular rays.

*I say “generally” because the almost all of the rays aren’t travelling directly towards the observer. An analogy would be standing on a railway station platform as a train approaches: you’d say that it was travelling generally towards you even though it isn’t actually going to hit you.

 

“I’m deuterawhat?” – colour vision at Orkney Science Festival

No need to look so sad, Garry. You're special.
No need to look so sad, Garry. You’re special.

You’re deuteranomalous, Garry.

The distressed man on the right is Garry McDougall. Garry’s just found out that his colour vision is not the standard-issue colour vision that most of us have. He made this discovery while watching my talk on the science of colour vision, in Kirkwall as part of the Orkney International Science Festival 2018.

Garry and I were part of a team funded by the Institute of Physics to perform at the festival.  Also on the team were Siân Hickson (IOP Public Engagement Manager for Scotland) and Beth Godfrey.

Garry needn’t look quite so woebegone: he’s not colour blind, and he’s in plentiful company – about 1 in 20 men have colour vision like his.

Normal metameric lights
To Garry, these two lights looked different.

How did Garry’s unusual colour vision come to light? In one of the demos in my talk, I compare two coloured lights. One (at the bottom in the picture on the right) is made only of light from the yellow part of the spectrum. The other (at the top) is made of a mixture of light from the red and green parts of the spectrum. If I adjust the proportions of red and green correctly, the red/green mixture at the top appears identical to the “pure” yellow light at the bottom.

Except that to Garry it didn’t. The mixture (the top light) looked far too red. By turning the red light down, I could get a mixture that matched the “pure” yellow light as far as Garry was concerned. But it no longer matched for the rest of us!  To us, the mixture looked much greener than the “pure” yellow

Garry metameric lights
To Garry, these two lights looked the same.

light; the lower picture on the right shows roughly how big the difference was. This gives us an insight into how different the original pair of lights (that we saw as identical) may have appeared to Garry. It’s not a subtle difference.

We can learn a lot from this experiment.

Firstly, we’re all colour blind. The red/green mixture and the “pure” yellow light are physically very different, but we can’t tell them apart. “Colour normal” people are just one step less colour blind than the people we call colour blind.

Secondly, it shows that there’s no objective reality to colour. People can disagree about how to adjust two lights to look the same colour, and there’s no reason to say who’s right.

Thirdly, it shows that Garry has unusual colour vision. Our colour vision is based on three kinds of light-sensitive cell in our eyes. They’re called cones. The three kinds of cone are sensitive to light from three (overlapping) bands of the spectrum. Comparison of the strengths of the signals from the three cone types is the basis of our ability to tell colours apart. Garry is unusual in that the sensitivity band of one of his three cones is slightly shifted along the spectrum compared to the “normal” version of the cone. This makes him less sensitive to green than the rest of us, which is why the red/green mixture that matches the “pure” yellow to Garry looks distinctly green to nearly everyone else.

Garry isn’t colour blind. He’s colour anomalous. A truly red-green colour blind person has only two types of cone in their eyes. Garry’s kind of colour anomaly is quite common, affecting about 6% of men and 0.4% of women. It’s called deuteranomaly, the deuter- indicating that it’s the second of the three cone types that’s affected, ie the middle one if you think of their sensitivity bands arranged along the spectrum.

My thanks to Siân Hickson for the photographs.

Ben on rocks
Exploring the coast at Rerwick Point.
rainbow
Showery weather meant that we were treated to many magnificent rainbows, like this one seen at Tankerness.

A note to deuteranomalous readersNormal metameric lights

Please don’t expect the illustrations of the colour matches/mismatches above to work for you as they would have done if you’d seen them live. A computer monitor provides only one way to produce any particular colour, so the lights that appear identical to colour “normal” people (image duplicated on the right) will also appear identical to you, because, in this illustration, they are physically identical.

A machine full of noises

Sarah Kenchington and I made this machine for the Full of Noises festival in Barrow-in-Furness in August 2018.

Sarah designed and made the bicycly bits that raise the table-tennis balls from the pit into the hoppers at the top, and I made the two devices that the balls descend through on their way to the cow bells and glockenspiel.

The complete machine also included other noise-making devices and an exercise-bike powered drive system, both made by Sam Underwood. It was housed in a greenhouse. Here’s a video of the whole thing in action at Full of Noises.

We shot the video in this post in a hurry on a dark damp Tuesday morning before packing the machine up to take it to Barrow, so it comes with apologies for the poor lighting in places.

The peg board (Galton board) that appears from 1:13 to 1:31 is an established classic (see below if you want to make one). The swinging-ramp ball-feeding device (2:09 to 2:18) is a revival of something I designed for the Chain Reactor.

What’s new from me is the arrangement for feeding the balls from the wire chute into the swinging-ramp assembly (1:56 to 2:18). Its operation should be clear from the video, except perhaps for one detail. Because this device may jam if it tries to collect a ball that has not quite arrived at the bottom of the wire chute, and because the timing of the arrival of the balls is erratic, it’s necessary to maintain a queue of balls in the chute to guarantee that there’s always a ball in place at the bottom to be collected. To achieve this, we arranged that the average rate of ball delivery into the chute (determined by the number of spoons on the bicycle chain) was greater than the rate of collection of balls out of the chute, and had an overflow route for the excess balls. Once three balls have accumulated in the chute, any further balls are diverted back into the ball pit (2:30-2:40).

Sarah and I are very grateful to Edinburgh Tool Library for the use of their Portobello workshop, and to Bike for Good and Magic Cycles for donating bicycle parts.

Making the Galton board

Chris Wallace and I discovered while making the Chain Reactor that the horizontal spacing of the pegs on a Galton Board is important. If the spacing is too great, a ball that sets off rightwards will tend to keep going rightwards, and vice versa. To get good randomisation, the ball should rattle between each pair of pegs, and to get this to happen, the gap between the pegs should be only slightly greater than the diameter of the balls. This in turn means that the pegs need to be precisely placed to avoid there being pairs of pegs that don’t let the balls through at all.

In that project we achieved the necessary precision by making the position of each peg (a bolt) adjustable, but with something like 100 bolts, this difficult job was very tedious and sorely tried Chris’s patience.

This time round, I developed a system that let me get every hole in the right place first time. Firstly, I cut the board into four strips so that all parts of it were accessible to a pillar drill. drilling jigThis guaranteed that every hole was accurately perpendicular. Secondly, I made a drilling jig (top right) to get the hole spacing correct. After drilling each hole, I put the peg (the bolt on the right-hand part of the jig) into the just-drilled hole, and the drill for the next hole into the drill hole on the left-hand part of the jig. The spacing between the peg and drill hole is adjustable using the long bolt. ThirdlyPillar drill table, I made a large custom table for the pillar drill (bottom right), with a fence arrangement so that each row of holes was straight.

When I was doing the drilling, the only measurements I had to make were to get the first hole in each row in the right place with respect to the previous row. It took me a few hours to perfect the drilling arrangements, but then only an hour or so to drill 90 holes, all exactly where I wanted them.

peg board

The 0.7%

Dusk on Barkeval

No, this post isn’t about wealth inequality. It’s about daylight inequality.

Today is the day of the spring equinox. For the past three months, the days have gradually been getting longer, and from tomorrow, the sun finally starts to spend more time above the horizon than below it*.

It’s also the day when everyone in the world enjoys a day of approximately equal duration. But from tomorrow onwards until the autumnal equinox in September, the further north you are, the longer your days will be, in the sense that the sun will spend more time above the horizon.

I wondered where Edinburgh, where I live, fits into this scale of day lengths. For the next six months, we’ll have longer days than anyone living south of us. What fraction of the world’s population is that?

I estimate that, over the coming summer, we’ll have longer days than roughly 99.3% of the world’s population.

I was very surprised at how large this number is. And delighted too: it somehow seems to make up for the seemingly endless dark dreich dampness of the Scottish winter.

The calculation

Rather than counting the number of people who live south of Edinburgh, it’s easier to count the much smaller number who live further north.

There are a few countries that are wholly north of Edinburgh, namely Finland, Norway, Latvia, Estonia, Iceland, the Faroes, and Greenland. There are some countries that are partially north of Edinburgh: Sweden, Denmark, and Lithuania. And then there is Russia, which spans a vast range of latitudes, but which has relatively few cities north of Edinburgh, of which the largest and/or most well known are St Petersburg, Nishny Novgorod, Perm, Yekaterinburg, Tomsk, Archangelsk, and Murmansk (though I counted a few more). There’s one state of the USA: Alaska. Finally we have Aberdeen, Inverness, Dundee and Perth, the main centres of population further north in Scotland.

To roughly compensate for the fact that these counts don’t cover minor centres of population, and that the northern part of Moscow probably overlaps somewhat with Edinburgh, I included the whole of Sweden, Denmark and Lithuania in the sum, despite the fact that the countries have major towns that are south of Edinburgh.

When I added it all up, it came to just under 44 million people living north of Edinburgh, against a world population at the time (I actually did the sums a few years ago) of 6.8 billion. Expressed as a percentage, 99.35% of the world’s population live south of Edinburgh, which I’ll round to 99.3% to avoid overstating my case.

 

*Actually, the sun appears to be above the horizon even at times when, geometrically speaking, it is slightly below it. This is because the light rays are refracted by the atmosphere and so travel in slight curves rather than straight lines.

Puff pastry

NOTE: the video that previously headed this post is no longer available. It shows the mixing of two thick sheets of coloured silicone material that had the apparent consistency of clay. One sheet was laid on the other sheet, and the pair were rolled up. The roll was squashed flat by passing it through a pair of rollers. It was then rolled up again, squashed flat again, rolled up again, squashed flat and so on. Remarkably, after only 4 such cycles the mixing was done to the satisfaction of the operators.

I was rather taken by the video above, which I first saw on Core77. I started wondering how many times you have to put the roll of silicone material through the machine to get satisfactory mixing of the two colours of material. The people in the video consider the job done after four passes. What does that mean in terms of the thickness of the red and white layers within the material?

The roll is a rather complicated object, so I worked with an idealised version of the real process, where the sheet emerging from the rollers isn’t rolled up, but cut into several pieces which are stacked up before being passed through the rollers again. I came up with the following:

After only 2 passes, the layers in the slab are too thin to see with the naked eye. And by some margin, too: there are over 600 of them and they’re only a fortieth of a millimetre thick. If you made a perpendicular cut through the slab, it wouldn’t appear to have red and white layers in it.

After only 4 passes, a standard compound microscope operating in visible light wouldn’t be able to resolve the layers in the slab.

After only 6 passes, the layers would be thinner than the width of the molecules of the silicone material. At this stage the concept of red and white layers no longer makes sense.

These results will only apply to material near the centre of the roll. It’s easy to see from the video that material near the edges is not mixed so well.

The calculation

From the video, it looks like there are about 9 turns in the roll. Each time the roll is flattened by the rollers, those 9 turns are converted into 18 layers. The resulting sheet is rolled up and passed through the rollers again, multiplying the number of layers by 18, and so on.

This doesn’t work at the sides of the roll. We’ll ignore that complication, and work with a flat analogue of the actual situation. We’ll assume that we start with two long rectangular flat sheets of material, a white one and a red one, laid on top of each other. We’ll cut this assembly into 18 identical pieces, and make a stack of them; this stack will have 36 layers. We now flatten this stack in the rollers, cut it into 18 pieces, stack them up (giving us 648 layers), and repeat.

On emerging from the roller, the sheet appears, by eye, about 1.5 cm thick. We’ll assume that we start with two layers of half this thickness. The table below shows the number of layers and the thickness of each layer after 0, 1, 2, 3… passes through the rollers.

Number of passesNumber of layersLayer thickness (m)
027.50 × 10-3
1364.17 × 10-4
26482.31 × 10-5
311 6641.29 × 10-6
4209 9527.14 × 10-8
53 779 1363.97 × 10-9
668 024 4482.21 × 10-10

We can identify various milestones, as follows:

Limit of visual acuity. A person with clinically normal vision can resolve detail that subtends roughly 1 minute of arc at the eye. At a viewing distance of 30 cm, this corresponds to about 0.1 mm (10-4 m). The layers of material are much thinner than this after only 2 passes. If you made a perpendicular cut through the slab of material, after two passes you wouldn’t be able to see the layered structure. (This might not be true if the cut was oblique.)

Limit of standard light microscopy. A compound microscope working in visible light can resolve detail down to about 200 nm (2 × 10-7 m). The layers become thinner than this after only 4 passes.

Single-molecule layers. The question here is the number of passes needed before the layers are less than a molecule thick (at which point the idea of layers fails). The difficulty is that molecules of silicones are long chains, and these chains are almost certainly bent, so their size is ill-defined. This part of the calculation will be hugely approximate. We’ll be as pessimistic as possible, assuming that the molecules are roughly straight and that they lie parallel to the layers in the slab of material.

PDMS
Polydimethylsiloxane

A common silicone material is polydimethylsiloxane or PDMS. This consists of a silicon-oxygen backbone with methyl groups attached. The lengths of carbon-silicon and carbon-hydrogen bonds are 1.86 × 10-10 m and 1.09 × 10-10 m respectively. So the width of the molecule is going to be, very, very approximately, of the order of 4 × 10-10 m. The layers are thinner than this after only 6 passes.

 

 

 

 

My longest shortest shadow

Longest shortest shadow small

In the morning, as the sun climbs in the sky, my shadow gets shorter and shorter. In the afternoon, as sun gets lower and lower in the sky, my shadow grows again. At local noon, when the sun is at its highest, my shadow is as short as it’s going to be that day. My noon-time shadow is my shortest shadow.

How high the sun gets at local noon depends on the time of year. In the summer, it gets much higher than in the winter. On the day of the winter solstice, the noon-time sun is lower than the noon-time sun on any other day of the year.  Therefore, of all of my shortest (noon-time) shadows, the one on the winter solstice will be the longest. It’s my longest shortest shadow.

Today is the winter solstice, and I’d hoped to photograph my longest shortest shadow on the beach at Portobello in Edinburgh. But implicit in all of the above is that the sun will be visible in the sky at the critical moment in order to cast the shadow. In Scotland in December this can be a tricky condition to meet, and it wasn’t quite met today. My shadow was barely visible. Since this idea came to me, I’ve only had one chance to photograph my longest shortest shadow, back in 2010.