Does anyone know a database for nth roots of unity

  • Context: Undergrad 
  • Thread starter Thread starter dumbQuestion
  • Start date Start date
  • Tags Tags
    Database Roots Unity
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
dumbQuestion
Messages
124
Reaction score
0
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.
 
Physics news on Phys.org
You could use octave or sage math to compute them.

J.
 
dumbQuestion said:
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.

Using Euler's formula, all you need is a good sine, cosine table.