
In this article
IMSEC returns 1/cos(z). Complex numbers are text like 3+4i; build them with COMPLEX.
Advertisement
Syntax
=IMSEC(inumber)
| Argument | What it means |
|---|---|
inumber |
Complex number as text, e.g. “3+4i” |
Examples
Example 1
=IMSEC(A2)
Result: -0.0362534969158689+0.00516434460775318i. See the worked example table below for more cases.
IMSEC in practice
Where you will use it
- AC circuit calculations (impedance, phase)
- Signal processing
- Engineering coursework
Worked example
| z | Formula | Result |
|---|---|---|
| 3+4i | =IMSEC(A2) | -0.0362534969158689+0.00516434460775318i |
| 1-i | =IMSEC(A3) | 0.498337030555187-0.591083841721045i |
| 2i | =IMSEC(A4) | 0.26580222883408 |
Results calculated in Excel.
Mistakes people make
| Mistake | What to do instead |
|---|---|
| Spaces inside the text | "3 + 4i" gives #NUM!; write 3+4i |
| Result is text | Use IMREAL/IMAGINARY to get numbers back |
Related functions
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
Advertisement
✨ Ask AI about this article
Stuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong