IMSIN function
IMSIN returns the sine of a complex number as text in complex number form. To get a plain number, wrap the result in IMREAL or IMAGINARY.
Example
Read it as a sentence: find the sine of the complex number 1+i, then keep only its real part, which gives 1.29845758141598.
A
B
C
D
1
1.29845758141598
2
3
Syntax
IMSIN(inumber)
-
inumber(required) - A complex number as text, like "3+4i".
Returns: The result as a complex number in text form.
What Excel actually returns
Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.
| Formula | Excel shows | Case |
|---|---|---|
=IMSIN("3+4i") | 3.85373803791938-27.0168132580039i | "3+4i" |
=IMSIN("3+4j") | 3.85373803791938-27.0168132580039j | Suffix j |
=IMSIN(5) | -0.958924274663138 | Pure real number 5 |
=IMSIN("5") | -0.958924274663138 | Pure real text "5" |
=IMSIN("i") | 1.1752011936438i | Pure imaginary "i" |
=IMSIN("-2i") | -3.62686040784702i | "-2i" |
=IMSIN("3+4I") | #NUM! | Uppercase I |
=IMSIN("abc") | #NUM! | Invalid text |
Watch out for
- Result is text; wrap in IMREAL or IMAGINARY to get a number.
Where it works
- Excel
- IMSIN is in every version of Excel from 2007 on.
- Google Sheets
- Same name, same behaviour for everyday use.
Part of Engineering functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .