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
    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.

  5. Feb 11, 2013 #4


    User Avatar
    Science Advisor

    Using Euler's formula, all you need is a good sine, cosine table.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook