Quantcast
Channel: ASKSAGE: Sage Q&A Forum - RSS feed
Browsing latest articles
Browse All 2 View Live

Answer by tmonteil for Computing $i^4$ yields $1$, but it's not the same $1$...

Since `I^4` is a symblic expression, `I^4 == 1` is also a symbolic expression: sage: expr = (I^4 == 1) sage: expr.parent() Symbolic Ring You can evaluate it by typing: sage: bool(I^4 == 1) True But...

View Article



Comparing even powers of $i$ with 1

Computing $i^4$ yields $1$, but it's not the same $1$ as when I type $1$. Compare these two evaluations: sage: I^4 == 1 1 == 1 sage: I^2 == 1 -1 == 1 I would have expected the first to yield `True` and...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images