Re: [sage-support] Re: solve() free variable substitution

2013-06-13 Thread kcrisman
I've opened http://trac.sagemath.org/sage_trac/ticket/14738 for a lot of this stuff. It's all related to keywords not being sufficiently happy. > There is a ticket for adding a lot of that to the main 'solve?' but Trac > seems to be down right now so I can't find it... > http://trac.sagemath

Re: [sage-support] Re: solve() free variable substitution

2013-06-13 Thread kcrisman
> > > Sorry to keep on here, but I've > got three other related queries: > > (1) "solve?" gives me " solve(sin(x)==x,x,explicit_solutions=True)" > as an example which returns an empty list of solutions. > But x=0 surely counts as an explicit solution? I guess my > interpretation of an empt

Re: [sage-support] Re: solve() free variable substitution

2013-06-12 Thread robin hankin
On Thu, Jun 13, 2013 at 12:45 PM, kcrisman wrote: > >> Smells like a bug... > > > Not exactly. The documentation for solve makes it clear (I hope!) in the > examples that these are "generic" variables generated by Maxima which we do > not make "Sage" variables. They just mean, "any old integer"

[sage-support] Re: solve() free variable substitution

2013-06-12 Thread leif
kcrisman wrote: On Wednesday, June 12, 2013 8:09:02 PM UTC-4, leif wrote: robin hankin wrote: > hello, sage 5.9 > > If solve() gives an unspecificed integer, how do I substitute a > particular value into the expression? > > subs() does not work as expected/desi

[sage-support] Re: solve() free variable substitution

2013-06-12 Thread kcrisman
On Wednesday, June 12, 2013 8:09:02 PM UTC-4, leif wrote: > > robin hankin wrote: > > hello, sage 5.9 > > > > If solve() gives an unspecificed integer, how do I substitute a > > particular value into the expression? > > > > subs() does not work as expected/desired because the free variable

[sage-support] Re: solve() free variable substitution

2013-06-12 Thread leif
leif wrote: robin hankin wrote: hello, sage 5.9 If solve() gives an unspecificed integer, how do I substitute a particular value into the expression? subs() does not work as expected/desired because the free variables don't seem to be defined. sage: a=solve(sin(x)==0,x,to_poly_solve='force')

[sage-support] Re: solve() free variable substitution

2013-06-12 Thread leif
robin hankin wrote: hello, sage 5.9 If solve() gives an unspecificed integer, how do I substitute a particular value into the expression? subs() does not work as expected/desired because the free variables don't seem to be defined. sage: a=solve(sin(x)==0,x,to_poly_solve='force');a [x == 2*pi