J
jollydottie
Using the calculator I get a different answer, if PI = 3.162. then *3.162 in
Excell should give me the right answer but it doesn't.
Excell should give me the right answer but it doesn't.
on Excell
=E15+14.86*D15*PI()*F15*0.85 =139.0444
on my calc
=20 + 14.86 = 34.86 x 6 = 209.16 x PI = 14.462 x .500 = 7.23 x .85
= 6.1465- this is the right answer
So what am I doing wrong?
Ron Rosenfeld said:1. If by PI you mean the ratio of the circumference to the diameter of a
circle, then your calculated result is incorrect as the value of PI is a bit
more than 3 and no way can 209.16 x PI be less than 627. Your calculator seems
to be giving you a result of 14.462, if I understand what you have written
above.
2. In addition to that, you are probably not understanding the order in which
Excel performs operations in formulas, which is documented in HELP.
You can use parentheses to control the calculation order, so your Excel formula
might read:
=(E15+14.86)*D15*PI()*F15*0.85
But you still have your calculator doing:
209.16 * PI --> 14.462 which, since PI = 3.14159..., is incorrect.
--ron
....PI has been calculated to 2 billion digits, probably more by now, but Excel
is not prepared for more than 15.
PI has been calculated to 2 billion digits, probably more by now,
but Excel is not prepared for more than 15.
Also, although this is not the core problem, computers work in
binary, we work in decimals - which leads to approximations.
Then 4*ATAN(4) and PI() must give exactly the same answer
within the precision of Excel (15 decimals)
or its related continued fraction
6.1.48 in http://www.math.sfu.ca/~cbm/aands/page_258.htm
that converges slowly (if at all) for small x, so it should be no surprise
that its accuracy improves as x becomes large.