Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 22021

Questions about using complex numbers in Mathematica. This includes basic arithmetic, functions of complex numbers, plotting complex functions, and dealing with branch cuts.

16 votes
1 answer
391 views

Why are Exp[3] and 2 treated differently within Complex?

Why doesn't the last command below split the complex number into its real and imaginary parts? … Complex[2,2] (* 2 + 2 I *) Complex[N[Exp[3]], N[Exp[3]]] (* 20.0855 + 20.0855 I *) Complex[Exp[3],Exp[3]) (* Complex[E^3,E^3] *) …
Soldalma's user avatar
  • 1,289
0 votes
1 answer
356 views

How do I declare that a variable represents a real number? [duplicate]

How do I tell Mathematica that a variable is a real number. I searched for this question here and in Google and nothing that was suggested seems to work for me. I must be missing something. My code is …
Soldalma's user avatar
  • 1,289