IMCOS Function in Google Sheets

Compute the cosine of a complex number using the IMCOS function.

IMCOS Function

The IMCOS function in Google Sheets returns the cosine of a complex number.

Syntax

IMCOS(number)
  • number: The complex number for which you want to compute the cosine.

Examples

  1. Basic Cosine Calculation

Calculate the cosine of the complex number 1+2i:

=IMCOS("1+2i")

This will output -1.266+0.634i.

Notes

  • The complex number should be in text format (e.g., ā€œ1+2iā€).
  • IMCOSH: Compute the hyperbolic cosine of a complex number.
  • IMCOS: Compute the cosine of a complex number.