[sage-support] Re: solve() question

2007-07-02 Thread David Harvey
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

[sage-support] Re: solve() question

2007-07-02 Thread William Stein
On 7/2/07, David Harvey [EMAIL PROTECTED] wrote: Because I is the square root of -1. Yep. If you want I to be a symbolic variable do sage: I = var('I') sage: a = E == I * R sage: solve(a, R) [R == (E/I)] In general, it is always a good idea to use the var command to explicitly construct