OK, I remember Complex Numbers from my Degree 12 years ago. But not much more...

Is this a maths, or a programming problem?

Is this a maths, or a programming problem?

Take the math out of the code. I would but I'm on my bb and I'm to lazy to not copy n paste.

Complex numbers is not a coding reference just numbers with decimals and exponents imo

Complex numbers is not a coding reference just numbers with decimals and exponents imo

From what I gather..

Your formula is

http://www.wolframalpha.com/input/?i=Re(-arcsin(z)%2Bpi/2)*i%2BIm(arcsin(z))

Later on that page says it's equal to

i*arccos(z)

Graphing that

http://www.wolframalpha.com/input/?i=i*arccos(z)

versus

http://www.wolframalpha.com/input/?i=arccosh(z)

You can see the real is just flipped above one.

They clearly aren't equal.

http://www.wolframalpha.com/input/?i=arccosh(z)%3Di*arccos(z)

So I can't put any reasoning behind it, but I guess your formula's just wrong; I figured I'd post what I entered anyway.

Your formula is

http://www.wolframalpha.com/input/?i=Re(-arcsin(z)%2Bpi/2)*i%2BIm(arcsin(z))

Later on that page says it's equal to

i*arccos(z)

Graphing that

http://www.wolframalpha.com/input/?i=i*arccos(z)

versus

http://www.wolframalpha.com/input/?i=arccosh(z)

You can see the real is just flipped above one.

They clearly aren't equal.

http://www.wolframalpha.com/input/?i=arccosh(z)%3Di*arccos(z)

So I can't put any reasoning behind it, but I guess your formula's just wrong; I figured I'd post what I entered anyway.

This thread is closed to new posts.
However, you are welcome to reference it
from a new thread; link this with the html
<a href="/bboard/q-and-a-fetch-msg.tcl?msg_id=00316b">CB Math Experts... help out!</a>