Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Maxima wants to know whether %k1 is positve or negative

I tried to do this in sage: sage: de=-diff(y,x,2)-G*M/y^2 sage: desolve(de, y, ics=[0,1000]) But sage just says this: TypeError: Computation failed since Maxima requested additional constraints; using the 'assume' command before evaluation may help (example of legal syntax is 'assume(%k1>0)', see assume? for more details) Is %k1 positive or negative?

But when I use assume(%k1>0) I get a syntax error, saying that there's something wrong with the percentage sign.

Maxima wants to know whether %k1 is positve or negative

I tried Trying to do this solve a differential equation in sage: Sage:

 sage:  de=-diff(y,x,2)-G*M/y^2
de = -diff(y, x, 2) - G*M/y^2
sage: desolve(de, y, ics=[0,1000])
ics=[0, 1000])
But sage just says this:

I get a type error and a question:

 TypeError: Computation failed since Maxima requested additional constraints; using the 'assume' command before evaluation may *may* help (example of legal syntax is 'assume(%k1>0)', see assume? `assume?` for more details)
Is %k1 positive or negative?

negative?

But when I use assume(%k1>0) assume(%k1>0) I get a syntax error, error, saying that there's something wrong with the percentage percent sign.

Maxima wants to know whether %k1 is positve or negative

Trying to solve a differential equation in Sage:

sage:  de = -diff(y, x, 2) - G*M/y^2
sage: desolve(de, y, ics=[0, 1000])

I get a type error and a question:

 TypeError: Computation failed since Maxima requested additional constraints; using the 'assume' command before evaluation *may* help (example of legal syntax is 'assume(%k1>0)', see `assume?` for more details)
Is %k1 positive or negative?

But when I use assume(%k1>0) I get a syntax error, saying that there's something wrong with the percent sign.