Group Abstract Group Abstract

Message Boards Message Boards

0
|
6K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Complex numbers display incorrect

Posted 11 years ago

Hi, I am a new user of mathematica. I was trying some functions to get familiar with mathematica. After that, when I input I (imaginary unit), the output only display a red rectangle. And I found, all complex numbers displayed a red rectangle. I can only restart mathematica to solve this problem. So, I want to know how to solve this problem and what cause it. Thanks!

POSTED BY: Qy Liu
2 Replies
POSTED BY: Gianluca Gorni
Posted 11 years ago

In Mathematica, the imaginary i is I (capital i), or esc+i+i+esc, or

Complex[0,1]

An example:

In[12]:= Sin[2. + 3. I]

Out[12]= 9.1545 - 4.16891 I

or:

In[14]:= Sin[Complex[2., 3]]

Out[14]= 9.1545 - 4.16891 I
POSTED BY: Erik Mahieu
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard