Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can I print equations just like latex?

Now I'm testing several equations and solutions with the sage. After testing the solutions, I'd present it to the group members. But I met a problem to print the equations.

For example, when I write the code.

sage: z(x)=6/(5pi50(x^2+25))exp((-x+sqrt(x^2+25))/50)

sage: view (z)

Then the sage doesn't show the equation that is exactly same with the code. but it just shows simplified form. Could anyone let me know how to show the original equation?

And it would be also appreciated, if you tell me how to modify the simplifying mechanism. I'd love to write equations that don't contain any large denominators with many exponential terms.

thank you.

How can I print equations just like latex?

Now I'm testing several equations and solutions with the sage. Sage. After testing the solutions, I'd present it to the group members. But I met a problem to print the equations.

For example, when I write the code.

sage: z(x)=6/(5pi50(x^2+25))exp((-x+sqrt(x^2+25))/50)

z(x)=6/(5*pi*50*(x^2+25))*exp((-x+sqrt(x^2+25))/50) sage: view (z)

(z)

Then the sage doesn't show the equation that is exactly same with the code. code, but it just shows simplified form. Could anyone let me know how to show the original equation?

And it would be also appreciated, if you tell me how to modify the simplifying mechanism. I'd love to write equations that don't contain any large denominators with many exponential terms.

thank you. you.