## Introduction: Mechanical Pi

As part of the semester topic „Techno Legacy“ David and I decided to focus on pocket calculators.

These devices become more and more irrelevant due to the universal integration of their functionality into major digital devices, primarily smartphones. While doing some research on calculators and mathematics, there was no way around the constant number pi.

**Material:**

- Screws (M3,M5)

- Aluminum plates (0.8mm, 1.5mm, 5mm)

- aluminum rod 16 diameter

- silver axes

- Calculator with two memories

- adjusting ring - Gears (16t,52t)

- DC Motor with gearbox

- switch 9v power supply

**Tools:**

- Waterjet

- Pfeile

- drill stand

- lathe

- soldering

- Allen keys

## Step 1: What Is PI?

The number pi (3.141…) is one of the most famous in mathematics. It describes the ratio between a circle's diameter and circumference. It is an irrational number and therefore one with no finite decimal places.

## Step 2: Who Is William Shanks

After digging deeper into the history of the number pi we found out about a man called William Shanks. A gifted mathematician, who lived from 1812 to 1882 and dedicated his entire life to the calculation of various irrational numbers like pi - all calculations he did by hand. In the year 1873 he published a book, in which he calculated pi up to 707 digits. The last 100 digits cost him 20 years of calculations.

Sadly in 1945 D.F. Ferguson used a table calculator to prove that only the first 527 digits were correct because of a consequential error. This was a story that really touched us. We decided to build a monument showing the tremendous effort Shanks went through by calculating all digits manually.

## Step 3: The Leibniz Formula

While searching for different ways to calculate pi we stumbled upon a lot of different functions completing this task. Some were very complex and fast and other were very simple but also took a while to find just a few digits.

Since we wanted to work with simple digital calculators we decided to go for one of the more simple methods like the “Leibniz formula”. The Leibniz formula is an infinite series of additions and subtractions of quotients. Each subsequent denominator in this series is the sum of the previous one plus two, starting with the value one. That's all. We took a closer look at what happens with these calculations and tried to break it down to its core.

1) This is the official definition of the Leibniz formula.

2) First let’s get rid of the confusing mathematical part.

3) You may have noticed that there is a repetitive part in that formula. Basically it is a repeating infinite series of additions and subtractions of quotients. The denominator increases by two.

4) There is only one variable, which we call M.

## Step 4: Leibniz Formula for a Calculator

With this simple code we picked up different calculators and started trying to calculate pi by hand. To perform these calculations we discovered that the memory behavior of each device forced us to press more buttons than expected. Above, you see a working combination we eventually used to make a repetitive sequence possible.

1. You need to fill the first Memory (MI) with the number one to start and then clear the display afterwards. MI is now your variable, which is increased by two each time.

2. Then you start the actual calculation to get closer to pi. (four divided by Memory 1 recall) and add or subtract the result to the previous calculations, which are stored in the second memory (MII)

3. Now we need to increase the first memory by two.

4. Before starting subsequent calculations we decided to show the intermediate result to the viewer. For a long time the inaccuracy and the few correct decimal places are easy to spot.

To sum up what we have got: three keystrokes to initialize the calculator and 16 keystrokes for the actual calculation. After these 16 keystrokes the sequence starts over again.

## Step 5: Physical Coded Object

We needed to manage hitting the required buttons on the pocket calculator physically and repeatedly to make use of the Leibniz formula. Thinking about something that has a repetitive physical information encoded we remembered the roller of the music boxes many of us had as a child.

This simple technology would do the job.

## Step 6: Mechanical Design

The calculating machine received a raw mechanical design. No hidden electronics, no redundant parts - just a simple mechanism typing on a calculator. To give it a still valuable look we choose a metal optic.

## Step 7: Construction / Planning

We started planning the construction of the mechanics to figure out what types of material we could use and also its thickness.

After checking some local metal supply shops we decided to go for aluminum and build most of the parts out of plates.

## Step 8: Waterjet

After we had planned out the construction we transferred our sketches to a CAD software to prepare the files for water jet.

## Step 9: Revising and Build Non Water Jet Parts

After receiving our cut plates we sanded the edges and polished every piece afterwards.

There were also some parts we couldn’t build out of plates, for example the round stands for the main plate, the seating for the axes or the bracket for the motor. These elements were built completely per hand.

## Step 10: Assemble and Soldering

After finishing all pieces, we assembled everything together and solder the motor and a switch.

## Step 11: Finished Mechanical Pi

Links:

http://florianborn.com/projects/mechanical_pi/

A project by:

Florian Born: (www.florinaborn.com)

David Friedrich (www.durchnull.de)

## 15 Comments

5 years ago

if only the calculator could store 2000 digits lol

5 years ago

Was ein grooooßartige Idee! :) Die Umsetzung ist auch klasse.

5 years ago

I never wanted something more in my life. So where will this fantastic hybrid mecanical/digital computer be on display?

6 years ago on Introduction

This is really cool, congratulation. Aweome job

6 years ago

I wish I had that much time on my hands !-))(

6 years ago on Introduction

Elegant execution + beautiful idea = AWESOME PROJECT.

6 years ago on Introduction

coool!! friend

6 years ago on Introduction

It's so beautiful!!!

6 years ago on Introduction

Very nice Project! Nice to see a fellow Berliner here, too :)

6 years ago on Introduction

So very beautiful, well done!

6 years ago

I'd hang this on the wall and let it go 24/7, fantastic piece of work, very.....German (take it as a compliment from your Dutch neighbour, I love the clean German design)

6 years ago on Introduction

Excellent. They should create a contest just for this to win.

6 years ago on Introduction

That is a definite showpiece. Very nice.

6 years ago on Introduction

This is cool and stupid :-) You did one hell of a job, but it like those useless perpetual motion machines. Don't get me wrong, it's a compliment, I think it's genius.

6 years ago

That's elegant. An analog solution to a digital problem.