[sage-support] Re: solving equations with parameters

2018-08-14 Thread Dominique Laurain
Hi Simon. You surely know better than me :-) There are many ways for getting help over the internet. Kind regards. Dominique. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from

Re: [sage-support] Re: solving equations with parameters

2018-08-14 Thread Emmanuel Charpentier
Le lundi 13 août 2018 22:39:04 UTC+2, William a écrit : > > On Mon, Aug 13, 2018 at 12:55 PM, Simon King > wrote: > > Hi Dominique, > > > > On 2018-08-13, Dominique Laurain > > wrote: > >> PS : use asksagemath.org > > > > -1! > > > > There are people (I, for instance) who hate the guts

[sage-support] Re: solving equations with parameters

2018-08-14 Thread Emmanuel Charpentier
Le lundi 13 août 2018 19:12:11 UTC+2, Dominique Laurain a écrit : > > One line answer : > > a,b,x,y = var('a,b,x,y') ; solve([ x + y == a, x - 2*y == b > ],x,y,dontsolve='a,b') > You don't even need that. Just specify that you want to solve for x and y : sage: var("x,y,a,b") (x, y, a, b)

Re: [sage-support] Re: solving equations with parameters

2018-08-13 Thread William Stein
On Mon, Aug 13, 2018 at 12:55 PM, Simon King wrote: > Hi Dominique, > > On 2018-08-13, Dominique Laurain wrote: >> PS : use asksagemath.org > > -1! > > There are people (I, for instance) who hate the guts of > ask.sagemath.org. Agreed... though for me it's mostly due to me getting banned half

[sage-support] Re: solving equations with parameters

2018-08-13 Thread Simon King
Hi Dominique, On 2018-08-13, Dominique Laurain wrote: > PS : use asksagemath.org -1! There are people (I, for instance) who hate the guts of ask.sagemath.org. Seriously, I find the whole system of badges and tags and colourful symbols and embedded editors both distracting and discouraging. I

[sage-support] Re: solving equations with parameters

2018-08-13 Thread Dominique Laurain
One line answer : a,b,x,y = var('a,b,x,y') ; solve([ x + y == a, x - 2*y == b ],x,y,dontsolve='a,b') First statement is to declare symbolic vars a,b,x,y and second statement is for solving in symbolics x,y Dominique PS : use asksagemath.org -- You received this message because you are