Hacker News new | ask | show | jobs
by madaxe_again 4077 days ago
So, I asked it:

What's e^i(pi)+1?

The response was... a little out. I'm impressed it had a crack at least.

"It's 2.69740975483297316969108251300445672427640640289560... + 2.64355906408145617888606598966971861665798063847235.."

Edit:

Heh, asked it the square root of i, and the answer made me chuckle:

The square root of you is (-1)^(1/4).

I don't know why I'm expecting a bot to know complex plane mathematics and euler's identity.

1 comments

Its response to your first question is in fact exactly right, because you didn't ask what you thought you asked. Your brackets are in the wrong place. You asked:

    e^i(pi)+1
which is:

    (pi * (e^i) ) + 1
which is:

    2.69740975.. + 2.64355906... i
So it was right.

And sqrt(i) is sqrt(sqrt(-1)) which is (-1)^(1/4), so again, it was right (excepting that it put "you" instead of "i")

So it did better than you think.

D'oh, you're quite right. In that case, top marks!
> excepting that it put "you" instead of "i"

just one drop of the sense of humor maybe :)