Re: [sage-support] Re: Will Sage software draw graphs of algebraic equations?

2012-04-19 Thread Justin C. Walker
On Apr 19, 2012, at 16:50 , Minh Nguyen wrote: > Hi, > > On Fri, Apr 20, 2012 at 6:54 AM, Theodore J Sheskin > wrote: >> Will Sage software draw graphs of algebraic equations? I am making up the >> equations. I do not have data which I want to plot. I do not have data to >> which I want to fit

Re: [sage-support] Re: Will Sage software draw graphs of algebraic equations?

2012-04-19 Thread William Stein
On Thu, Apr 19, 2012 at 4:50 PM, Minh Nguyen wrote: > Hi, > > On Fri, Apr 20, 2012 at 6:54 AM, Theodore J Sheskin > wrote: >> Will Sage software draw graphs of algebraic equations? I am making up the >> equations. I do not have data which I want to plot. I do not have data to >> which I want to f

[sage-support] Re: Will Sage software draw graphs of algebraic equations?

2012-04-19 Thread Minh Nguyen
Hi, On Fri, Apr 20, 2012 at 6:54 AM, Theodore J Sheskin wrote: > Will Sage software draw graphs of algebraic equations? I am making up the > equations. I do not have data which I want to plot. I do not have data to > which I want to fit a curve. I plan to paste the graphs into a Word 2007 > docum

[sage-support] Re: Determining if a ring has any non-trivial idempotents

2012-04-19 Thread JamesHDavenport
And if the polynomial ring is in finitely many variables, you at least stand a chance, and the reference I quoted is irrelevant, EXCEPT to show that you do need to use this knowledge about the field, On Wednesday, 18 April 2012 20:50:26 UTC+1, diophan wrote: > > I'll check out the reference. If

[sage-support] Re: to_poly_solve inconsistency for periodic functions

2012-04-19 Thread Duc Trung Ha
Alright, here is a message I posted to Maxima's mail-list: Hola, > > I am sorry if this would come as a completely stupid question but I was > really > amazed at this Maxima's behavior: > > When I searched for solution of goniometric equation `tan(x) = 1`:: > > > ;;;

Re: [sage-support] Importing Cython .so module

2012-04-19 Thread Robert Bradshaw
On Thu, Apr 19, 2012 at 12:48 PM, Emil wrote: > On 19 April 2012 07:20, Robert Bradshaw wrote: >> It might be distutils. It might be Cython. It might even be Sage or >> Python. But without knowing exactly how you're trying to >> compile/install your package, it's hard if not impossible to give an

Re: [sage-support] Importing Cython .so module

2012-04-19 Thread Emil
On 19 April 2012 07:20, Robert Bradshaw wrote: > It might be distutils. It might be Cython. It might even be Sage or > Python. But without knowing exactly how you're trying to > compile/install your package, it's hard if not impossible to give any > specific recommendations on what to change to ge

[sage-support] Re: Call for Papers: Symbolic computation with Sage in mathematical education and research

2012-04-19 Thread kcrisman
Given that it claims to be about both research and education usage, I'm forwarding this to the other relevant Google groups. Nice find! On Thursday, April 19, 2012 2:11:19 PM UTC-4, LFS wrote: > > Hopefully doing this correctly since not exactly a "question". Just wanted > to make sure this gro

[sage-support] Call for Papers: Symbolic computation with Sage in mathematical education and research

2012-04-19 Thread LFS
Hopefully doing this correctly since not exactly a "question". Just wanted to make sure this group new about this. Special Issue for Papers: Tbilisi Mathematical Journal TMJ, Symbolic computation with Sage in mathematical education and research.* Link at bottom of:* http://tcms.org.ge/Journals

Re: [sage-support] Eval problem with rationals

2012-04-19 Thread Graham Gerrard
Thanks all. Even better when I discovered the locals option, which enables control of variable evaluation. Graham On 19 April 2012 14:40, Martin Albrecht wrote: > Try > > sage: sage_eval? > > which preparses it's input while eval does not. > > On Thursday 19 Apr 2012, Graham Gerrard wrote: > >

Re: [sage-support] Eval problem with rationals

2012-04-19 Thread Martin Albrecht
Try sage: sage_eval? which preparses it's input while eval does not. On Thursday 19 Apr 2012, Graham Gerrard wrote: > z="1/2*x" > x=3 > eval(z) > 0 > z="x*1/2" > eval(z) > 3/2 > > ?? > > Graham Cheers, Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0

[sage-support] Re: Eval problem with rationals

2012-04-19 Thread Jason Grout
On 4/19/12 8:24 AM, Graham Gerrard wrote: z="1/2*x" x=3 eval(z) 0 z="x*1/2" eval(z) 3/2 The problem is that you are using eval, but should be using sage_eval. eval is a python command that uses python integers, rather than Sage integers and rationals. sage: eval("1/2") 0 sage: sage_eval("1/

[sage-support] Re: a multiplicative cipher in SAGE

2012-04-19 Thread Keshav Kini
Avril Coghlan writes: > Dear Keshav, > > Thanks very much, that helps a lot and makes lots of sense now. > > Using what you said, I was able to encode 'HAPPYNEWYEAR' using a 1-based > system > (A=1, B=2, C=3,Z=26) by applying (i) a multiplicative cipher with a=1,b=1 > to change to a 1-based s

[sage-support] Re: a multiplicative cipher in SAGE

2012-04-19 Thread Avril Coghlan
Dear Keshav, Thanks very much, that helps a lot and makes lots of sense now. Using what you said, I was able to encode 'HAPPYNEWYEAR' using a 1-based system (A=1, B=2, C=3,Z=26) by applying (i) a multiplicative cipher with a=1,b=1 to change to a 1-based system (ii) then a multiplicative ci