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.
(In reply to re: My best so far ???????????
by Ady TZIDON)
Yes, in my post I forgot to include the 8. It should read:
(1-2)/(3+4)*(56-78+9*0) which is of course (-1/7)*(-22) = 22/7, like previous posts.
This page (clicky) has a bunch of fractions which are rational approximations to pi (computer generated). People could use it as goal to try for.
Posted by Kiriai
on 2005-09-26 00:13:35