### Random Post

### Recent Posts

- Tantalizer 450: Marriage problems
- Enigma 1057: Recycled change
- Enigma 452: Figure out these letters
- Puzzle 46: I lose my specs
- Enigma 1058: A row of colours
- Enigma 451: Double halved
- Tantalizer 451: Death rates
- Enigma 1059: Century break
- Enigma 450: A pentagonal problem
- Puzzle 48: Verse on the island

### Recent Comments

Jim Randell on Tantalizer 450: Marriage … | |

Brian Gladman on Enigma 1057: Recycled cha… | |

Jim Randell on Enigma 1057: Recycled cha… | |

geoffrounce on Enigma 452: Figure out these… | |

Jim Randell on Enigma 452: Figure out these… |

### Archives

### Categories

- article (11)
- enigma (1,183)
- misc (2)
- project euler (2)
- puzzle (46)
- site news (46)
- tantalizer (50)
- teaser (3)

### Site Stats

- 184,974 hits

Advertisements

Here’s a numerical solution using the

find_value()function from theenigma.pylibrary. It runs in 39ms.Solution:The goalposts have a height of 10 standard distances.Analytically we can use the equality:

to derive:

so the sum of the angles in the puzzle is:

and this is 90 degrees, so the second argument to atan() must be zero:

Or you can just plug it into Wolfram Alpha [ http://www.wolframalpha.com/input/?i=arctan%28h%2F10%29+%2B+arctan%28h%2F20%29+%2B+arctan%28h%2F30%29+%3D+90%C2%B0 ].

We can also consider the complex numbers:

where

dis the initial distance from the goalposts, andhis the height of the goalposts.The arguments of these complex numbers are the angles measured, so:

And using the equality:

We see that the complex number:

must have no real component.

The product of the numbers is:

Hence:

So the height of the goalposts is the same as the distance from the goalposts in the first measurement. i.e. 10 standard distances.

Very elegant, as complex number solutions often are in comparison to trig solutions.

The related puzzle that I mentioned has a one line solution using complex numbers:

(3+i)(2+i)=5(1+i)

This reminds me of a related puzzle that I came across a few years ago. Here is a

blog entrythat describes it.This programme finds the goalpost height and the three angles in degrees.