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

Does anyone know a database for nth roots of unity

  1. Feb 10, 2013 #1
    I am typing up a latex document and I need to find roots of unity, lots of them, for numbers like say 42. I was just wondering if anyone knew of a database that had this stuff on hand rather than having to do it all by hand and worrying about having made some stupid algebra error.
     
  2. jcsd
  3. Feb 10, 2013 #2

    micromass

    User Avatar
    Staff Emeritus
    Science Advisor
    Education Advisor
    2016 Award

    I'm not aware of any tables or databases. I think your best bet would be a computer algebra system. Maybe try wolfram alpha?
     
  4. Feb 11, 2013 #3
    You could use octave or sage math to compute them.

    J.
     
  5. Feb 11, 2013 #4

    mathman

    User Avatar
    Science Advisor
    Gold Member

    Using Euler's formula, all you need is a good sine, cosine table.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook