[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 it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


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 of 
> > ask.sagemath.org. 
>
> Agreed... though for me it's mostly due to me getting banned half the time 
> I try to use it... 
>

;-)...
 

> At this point, it would probably be a lot better to point people at 
> stackoverflow, and just suggest some tags they can use... 
>

Alternate proposal : a "sage-questions" list similar to the present 
"sage-support". Strongly mark the former as dedicated to questions about 
the "normal" use of Sage, and the latter as dedicated to (apparent) 
anomalies of Sage behaviour.
 

> > Seriously, I find the whole system of badges and tags 
> > and colourful symbols


Distracting and childish...
 

> and embedded editors 


One could dispense with their Neanderthal's Markdown...
 

> both distracting and 
> > discouraging. I regularly have a look at sage-support, but haven't been 
> > on ask.sagemath.org in the last couple of years. 
> > 
> > While it is OK to keep ask.sagemath.org running, I find it very wrong 
> to 
> > forward people to ask.sagemath.org when they ask a question on 
> > sage-support (which clearly is *a* port for those seeking help). 
> > 
> > Best regards, 
> > Simon 
> > 
> > -- 
> > 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 it, send 
> an email to sage-support...@googlegroups.com . 
> > To post to this group, send email to sage-s...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/sage-support. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> William (http://wstein.org) 
>

-- 
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 it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[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)
sage: solve([x+y==a,x-2*y==b],[x,y])
[[x == 2/3*a + 1/3*b, y == 1/3*a - 1/3*b]]

 HTH,


> 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 subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


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 the time
I try to use it...

At this point, it would probably be a lot better to point people at
stackoverflow, and just suggest some tags they can use...

> Seriously, I find the whole system of badges and tags
> and colourful symbols and embedded editors both distracting and
> discouraging. I regularly have a look at sage-support, but haven't been
> on ask.sagemath.org in the last couple of years.
>
> While it is OK to keep ask.sagemath.org running, I find it very wrong to
> forward people to ask.sagemath.org when they ask a question on
> sage-support (which clearly is *a* port for those seeking help).
>
> Best regards,
> Simon
>
> --
> 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 it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.



-- 
William (http://wstein.org)

-- 
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 it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[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 regularly have a look at sage-support, but haven't been
on ask.sagemath.org in the last couple of years.

While it is OK to keep ask.sagemath.org running, I find it very wrong to
forward people to ask.sagemath.org when they ask a question on
sage-support (which clearly is *a* port for those seeking help).

Best regards,
Simon

-- 
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 it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[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 subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.