# Enigmatic Code

Programming Enigma Puzzles

## Puzzle #46: Pi-thagoras

Pythagoras’s theorem says that for any right-angled triangle, the square of the hypotenuse (the longest side of the triangle) is equal to the sum of the squares of the other two sides.

There are some right-angled triangles whose sides are all whole number lengths. The simplest and best known is the “3-4-5” triangle (3² + 4² = 5²).

I have drawn a circle that fits precisely inside a 3-4-5 triangle. What is the area of the circle? Have a guess. And then see if you can prove that you are right.

[puzzle#46]

### 2 responses to “Puzzle #46: Pi-thagoras”

1. Jim Randell 15 February 2020 at 7:50 am

The inradius, semiperimeter and area of a triangle are related as follows:

In this case the area of the triangle is: (1/2) × 3 × 4 = 6

And the semiperimeter is: (1/2) × (3 + 4 + 5) = 6.

So the inradius is: 6 / 6 = 1, and the area of the incircle is π (pi) (as you might have guessed from the title of the puzzle).

• John Crabtree 2 March 2020 at 6:02 am

By similar triangles, 5 = (3 – r) + (4 – r) = 7 – 2r
And so r = 1 and the area = Pi

This site uses Akismet to reduce spam. Learn how your comment data is processed.