Group Abstract Group Abstract

Message Boards Message Boards

0
|
7.9K Views
|
1 Reply
|
2 Total Likes
View groups...
Share
Share this post:

Calculate Exp[2*n* Pi*I] treating n as Integer?

Posted 9 years ago

I want to ask Mathematica to evaluate

Exp[2*n* Pi*I]

treating n, as Integer. the answer is 1, but Mathematica writes

Cos[2nPi]+I Sin[2n PI] 

so how to force n to be treating n as Integers? Thanks. JME

POSTED BY: Javad Emami
Posted 9 years ago

Here is one way:

In[2]:= Simplify[Exp[2 n Pi I], n \[Element] Integers]

Out[2]= 1
POSTED BY: David Keith
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard