WorksheetFunction.ImCos(Object) Method

Definition

Returns the cosine of a complex number in x + yi or x + yj text format.

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

Parameters

Arg1
Object

Inumber - a complex number for which you want the cosine.

Returns

Remarks

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

If inumber is a logical value, ImCos returns the #VALUE! error value.

The cosine of a complex number is:

Figure 1: Cosine of a complex number

Applies to