A
A
Abn302020-04-26 15:00:46
C++ / C#
Abn30, 2020-04-26 15:00:46

How to find the argument of a complex number?

I know that it is calculated through the angle φ, and depending on which quarter the number falls into, it will be decided how to find it: cos, sin, tg, arctg. But something is still difficult.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2020-04-26
@gbg

The argument of a complex number is always the arc tangent of the ratio of the imaginary part to the real part, taking into account a quarter.
In C, there is a special arc tangent atan2 for this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question