Python fails on math
ian.g.kelly at gmail.com
Tue Feb 22 19:29:04 CET 2011
On Tue, Feb 22, 2011 at 9:54 AM, David C. Ullrich <dullrich at sprynet.com> wrote:
> Anyway, I don't know why you're jumping to the conclusion that it's
> Python that's wrong here. Could be the math you learned in school
> is wrong. I mean you're assuming that
> (*) a(b+c) = ab + ac
> but what makes you so certain (*) is correct? Have you tried it with
> every possible value of a, b, and c? Or do you just blindly believe
> everything your teacher told you or what?
> Seems to me you've stumbled on a counterexample to (*). I'm
> gonna have to take this up with the mathematicians...
Or you could, you know, just check the proof:
More information about the Python-list