All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Closest to pi (Posted on 2005-09-25) Difficulty: 2 of 5
As you know, the value of pi with some decimals is 3.141592653589...

Write an expression using all digits (0-9) once each, to achieve the closest value to pi. The digits must be in the order 1, 2, 3, 4, ...8, 9, 0. You may also use as many parentheses, +, -, /, and *, as you wish, but only these symbols.

As an example: 123/45 - 6/7 + 8/9 + 0 = 2.765079... gives a difference of approximately 0.376.

You may post the difference or the approximation you achieve in the subject of your comment.

See The Solution Submitted by pcbouhid    
Rating: 3.0000 (4 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution re: My mistake! -- diff. 0.0032837 (from modified computer program) | Comment 14 of 25 |
(In reply to My mistake! by pcbouhid)

If that is the limitation, and "as many parentheses", etc. "as you wish" really means as many choices, but only at most one each, then a small modification to the program to allow only non-repetitions, produces 1/(234+56-7)*890 = 3.14487632508834, where the standard mathematical usage is followed, where multiplication does not take precedence over division.


  Posted by Charlie on 2005-09-26 18:19:29
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2017 by Animus Pactum Consulting. All rights reserved. Privacy Information