# Revision history [back]

### 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.

 2 No.2 Revision vdelecroix 6887 ●16 ●75 ●147 http://www.labri.fr/pe...

### 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);gg=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.