Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathematica solution with an imaginary part

  1. Mar 31, 2008 #1
    Can someone please explain why the result of the following has an imaginary part when I put it into mathematica 6.0?

    Code (Text):
    Sum[Sin[n 6]/2^n, {n, 1, Infinity}]
  2. jcsd
  3. Mar 31, 2008 #2
    Code (Text):
    Sin[n 6] / 2^n
    Code (Text):
    2^-n * Sin[n 6]
  4. Apr 1, 2008 #3
    Wrap it in a full simplify command:

    Code (Text):
    FullSimplify[Sum[Sin[n 6]/2^n, {n, 1, Infinity}]]
  5. Apr 1, 2008 #4
    So what?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook