News for hackers. Stuff that matters.
Re:Show HN: I'm a 14 year-old dev who has programmed an arti... by madaxe_again on Thursday April 16, 2015 @10:17AM (#9388053)
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.

Re:Show HN: I'm a 14 year-old dev who has programmed an arti... by ColinWright on Thursday April 16, 2015 @10:36AM (#9388185)
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.

Re:Show HN: I'm a 14 year-old dev who has programmed an arti... by madaxe_again on Thursday April 16, 2015 @11:09AM (#9388440)
D'oh, you're quite right. In that case, top marks!
Re:Show HN: I'm a 14 year-old dev who has programmed an arti... by EugeneOZ on Thursday April 16, 2015 @05:49PM (#9390934)
> excepting that it put "you" instead of "i"

just one drop of the sense of humor maybe :)