Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

acos of a complex number

Status
Not open for further replies.

TLM

Member level 3
Member level 3
Joined
Jun 12, 2004
Messages
58
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
120
i'm looking for a source code or software which can calculate acos of a complex number
 

TLM said:
i'm looking for a source code or software which can calculate acos of a complex number


try google with 'complex acos' ???... lot of links to complex capable code and library for more or less all type of computer language.


from:

**broken link removed**

Code:
For input of a complex number, Z = X + iY, the complex arccosine is given by,

acos(Z) = acos(B) - i alog(A + sqrt(A^2 - 1)) if Y >= 0

acos(Z) = acos(B) + i alog(A + sqrt(A^2 - 1)) if Y < 0

where

A = 0.5 sqrt((X + 1)^2 + Y^2) + 0.5 sqrt((X - 1)^2 + Y^2)

B = 0.5 sqrt((X + 1)^2 + Y^2) - 0.5 sqrt((X - 1)^2 + Y^2)


seem not so hard to implement with real float math lib.


---

for looking projekt with 'real life' using complex math. look a free42-project

http://home.planet.nl/~demun000/thomas_projects/free42/

possible you can find usable code there


[/code]
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top