Re: [sage-support] Re: Trouble getting *collect* to work with derivatives.

2021-01-25 Thread Christian Seberino
> > Secondly, what are you trying to collect? The D[0,0] terms or > f(xp, yp, zp, tp), x, 2) which are two different things? What is the difference between those 2? > Given > what you are trying to do I guess it is the first one, in which > case you should have tried > > sage: term = f(

Re: [sage-support] Re: Trouble getting *collect* to work with derivatives.

2021-01-24 Thread Christian Seberino
What are computed operators? Are those the D[0, 0] things? How avoid those? Is that same as second derivative of 1st variable? On Sun, Jan 24, 2021, 11:33 AM Emmanuel Charpentier < emanuel.charpent...@gmail.com> wrote: > Probably because “the given second derivative” has a “computed operator”… >

Re: [sage-support] Re: Trouble getting *collect* to work with derivatives.

2021-01-24 Thread Christian Seberino
Emmanuel But my question is more simple than that. I just want to know why the collect method was not able to collect all the terms with the given second derivative. On Sun, Jan 24, 2021, 2:15 AM Emmanuel Charpentier < emanuel.charpent...@gmail.com> wrote: > Sage has recently acquired a large se

[sage-support] Re: Trouble getting *collect* to work with derivatives.

2021-01-23 Thread Christian Seberino
> > What you intend to do isn’t really clear… Could you try and clear your > goals ? > Emmanuel Thanks so much for your help. I'm trying to show that the wave equation (https://en.wikipedia.org/wiki/Wave_equation) is invariant under a certain coordinate transformation called the Lorentz tra

[sage-support] Trouble getting *collect* to work with derivatives.

2021-01-22 Thread Christian Seberino
I'm trying to collect all the terms in an expression with the same second partial derivative but it doesn't seem to be working. I can't figure out why. Here is my code # function("xp yp zp tp f") var("x y z t v c") xp = (x - v *

[sage-support] Did something change to break Sage interactives using sagecell.sagemath.org recently?

2020-07-11 Thread Christian Seberino
I have some simple Sage interactives that used to work but I recently tried them and they don't anymore. I tried creating other toy examples and they also don't work. https://seberino.pythonanywhere.com/static/electric_force.html Did something change recently like the URL should use for sa

Re: [sage-support] Re: How solve simple log equation?

2017-07-16 Thread Christian Seberino
Dominique THANK YOU! Without or without declaring x your way works This... var("y C") solve( log(y) == C + log(x) + log(y-1),x) solve( x == y/(y*e^C - e^C), y) Gives... [y == x*e^C/(x*e^C - 1)] What is amazing is that simply having y appear in 2 places makes it unsolvable directly withou