2022-06-30 12:48:36 +0200 | received badge | ● Famous Question (source) |
2022-03-27 00:23:28 +0200 | received badge | ● Notable Question (source) |
2020-09-17 11:42:56 +0200 | received badge | ● Popular Question (source) |
2019-04-11 19:41:03 +0200 | received badge | ● Taxonomist |
2018-06-25 02:08:50 +0200 | received badge | ● Notable Question (source) |
2013-12-28 20:10:23 +0200 | received badge | ● Popular Question (source) |
2011-10-11 12:16:21 +0200 | received badge | ● Nice Question (source) |
2011-10-08 10:17:46 +0200 | received badge | ● Student (source) |
2011-09-26 18:46:32 +0200 | commented answer | Simplification of expression with exponentials. Excellent Thank you!!! I had resorted to what I call a "half clever work around". I found $e^{2\pi i/5}$ to 16 decimal places, and expand as a polynomial with $g$ as a variable, and in the last step I substituted the numerical value for $g$. I then had to manually go through and remove the terms of the form 1.2123123 e^{-16} which was a major pain. This is so much better, thanks! |
2011-09-26 18:44:32 +0200 | received badge | ● Scholar (source) |
2011-09-26 18:44:32 +0200 | marked best answer | Simplification of expression with exponentials. Coincidentally, something like this was the first thing I did with SAGE. Glad I can help you. It's really magic, but here's how it goes. Try to copy this in a SAGE notebook cell: Just to make sure, evaluate (it should work out to 0). Then evaluate and sure enough, the answer follows: |
2011-09-26 18:44:31 +0200 | received badge | ● Supporter (source) |
2011-09-26 14:31:17 +0200 | asked a question | Simplification of expression with exponentials. Hello, I am looking at expanding the product: (a+b*g+c*g^2+d*g^3)*(a+b*g^2+c*g^4+d*g)*(a+b*g^3+c*g+d*g^4)*(a+b*g^4+c*g^3+d*g^2) where $g=e^{2\pi i /5}$ is a fifth root of unity. The problem is, after expanding, and telling sage the value of $g$, it does not collect terms according to the rule $1+g+g^2+g^3+g^4=0$ so there are over 5 times too many terms. Is there any way to make this simplification automatic? For degrees higher then $5$ going through manually will not be an option. (It is almost faster to multiply everything myself then figure out the collection of the terms) Thank you very much for any help on this, I have been stuck for the last while |
2011-09-26 14:22:40 +0200 | received badge | ● Editor (source) |
2011-09-26 14:21:30 +0200 | asked a question | Number Fields and the Norm Hello, I am currently very confused about how to use [Number Fields in Sage].(http://www.sagemath.org/doc/reference/sage/rings/number_field/number_field.html). Things are not working. Specifically I would like the norm of $\mathbb{Z}[\zeta_5]$ which should be a homogeneous polynomial of degree 4. I tried:
However that did not work. I also tried:
Instead of returning the norm in the Cyclotomic ring, this simply gave me the norm over the complex numbers, that is multiplication by the complex conjugate. These two things are very different, and the norm of the complex number is not at all correct. (It should be degree 4 not degree 2) Any help is greatly appreciated, thank you |