The IMCOS function returns the cosine of a Complex Number in x + yi or x + yj text format.
Syntax: =IMCOS( inumber )
The IMCOS function syntax has the following arguments:
- Inumber Required. A complex number for which you want the cosine
Example: Let’s look at some Excel IMCOS function examples and explore how to use the IMCOS function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following IMCOS examples would return:
- Use COMPLEX 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: