Edit

Share via


WorksheetFunction.ImArgument(Object) Method

Definition

Returns the argument (theta), an angle expressed in radians, such that:

public:
 System::String ^ ImArgument(System::Object ^ Arg1);
public string ImArgument (object Arg1);
Public Function ImArgument (Arg1 As Object) As String

Parameters

Arg1
Object

Inumber is a complex number for which you want the argument theta.

Returns

Remarks

Use Complex(Object, Object, Object) to convert real and imaginary coefficients into a complex number.

ImArgument is calculated as follows:

Figure 1: Equation for the ImArgument method

Where:

Figure 2: Equation

and

z = x + yi

Applies to