Article 6QCQR Mentally multiply by π

Mentally multiply by π

by
John
from John D. Cook on (#6QCQR)

This post will give three ways to multiply by taken from [1].

Simplest approach

Here's a very simple observation about :

3 + 0.14 + 0.0014.

So if you need to multiply by , you need to multiply by 3 and by 14. Once you've multiplied by 14 once, you can reuse your work.

For example, to compute 4, you'd compute 4 * 3 = 12 and 4 * 14 = 56. Then

4 12 + 0.56 + 0.0056 = 12.5656.

The correct value is 12.56637... and so the error is .00077.

First refinement

Now of course = 3.14159... and so the approximation above is wrong in the fourth decimal place. But you can squeeze out a little more accuracy with the observation

3 + 0.14 + 0.0014 + 0.00014 = 3.14154.

Now if we redo our calculation of 4 we get

4 12 + 0.56 + 0.0056 + 0.00056 = 12.56616.

Now our error is .00021, which is 3.6 times smaller.

Second refinement

The approximation above is based on an underestimate of . We can improve it a bit by adding half of our last term, based on

3 + 0.14 + 0.0014 + 0.00014 + 0.00014/2 = 3.14157

So in our running example,

4 12 + 0.56 + 0.0056 + 0.00056 + 00028 = 12.5656 = 12.56654.

which has an error of 0.00007, which is three times smaller than above.

Related posts

[1] Trevor Lipscombe. Mental mathematics for multiples of . The Mathematical Gazette, Vol. 97, No. 538 (March 2013), pp. 167-169

The post Mentally multiply by first appeared on John D. Cook.
External Content
Source RSS or Atom Feed
Feed Location http://feeds.feedburner.com/TheEndeavour?format=xml
Feed Title John D. Cook
Feed Link https://www.johndcook.com/blog
Reply 0 comments