Because I is the square root of -1. sage: type(I) <class 'sage.functions.constants.I_class'>
sage: type(J) <class 'sage.calculus.calculus.SymbolicVariable'> sage: type(R) <class 'sage.calculus.calculus.SymbolicVariable'> Yeah this is pretty confusing if it's not what you expected. david On Jul 3, 2007, at 7:18 AM, Ted Kosan wrote: > > Does anyone have any thoughts on why solve() returns [R == -1*I*E] in > the following SAGE session? > > Thanks in advance :-) > > Ted > > ---------------------------------------------------------------------- > | SAGE Version 2.6, Release Date: 2007-06-02 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > > sage: a = E == I * R > > sage: a > E == I*R > > sage: solve(a,I) > [I == (E/R)] > > sage: solve(a,R) > [R == -1*I*E] --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---