WorksheetFunction.ImCos(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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