[sage-support] Filtering complex expressions from a Sequence

2007-07-02 Thread Ted Kosan
I have been trying to determine a good way to filter complex expressions from a Sequence. Here is an example: sage: a = 879 == 265 * e^(20 * r) sage: solve(a,r) [r == log(879^(1/20)*e^(I*pi/10)/265^(1/20)), r == log(879^(1/20)*e^(I*pi/5)/265^(1/20)), r == log(879^(1/20)*e^(3*I*pi/10)/265^(1/20

[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

[sage-support] Re: solve() question

2007-07-02 Thread David Harvey
Because I is the square root of -1. sage: type(I) sage: type(J) sage: type(R) 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 SA

[sage-support] solve() question

2007-07-02 Thread Ted Kosan
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,

[sage-support] Re: citing SAGE

2007-07-02 Thread Jason Grout
Jason Grout wrote: > William Stein wrote: >> On 6/27/07, David Joyner <[EMAIL PROTECTED]> wrote: >>> Some journals require an author field, eg >>> http://www.lib.monash.edu.au/tutorials/citing/ieee.html >>> If the author isn't William Stein then who should it be? >>> >>> Some examples: >>> >>> 1.