Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

present sage output as "normal" mathematics

Hello,

I am new to sage and I have the following question. Here is a minimal working example:

x,y=var('x,y') f=x^2-3*y; f f.diff(x) g=f.diff(x);g

The output of it is 2*x, but I wonder if there is a way to say to sage that I want to present the output g=2x.

Thanks in advance

present sage output as "normal" mathematics

Hello,

I am new to sage and I have the following question. Here is a minimal working example:

x,y=var('x,y')
f=x^2-3*y; f
f.diff(x)
g=f.diff(x);g

g=f.diff(x);g

The output of it is 2*x, but I wonder if there is a way to say to sage that I want to present the output g=2x.

Thanks in advance