ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 28 Sep 2013 09:10:14 +0200function divisionhttps://ask.sagemath.org/question/10575/function-division/I plotted the 2 following equations:
(2*x^3+2*x) / (x^2+1)
2*x
p1 = plot((2*x^3+2*x) / (x^2+1), (x,-15,15), ymin=-15, ymax=15)
p2 = plot(2*x, (x,-15,15), ymin=-15, ymax=15, color='red')
p0= p1+p2
show(p0)
And they both displayed the same output:
I tried to do, (2*x^3+2*x) / (x^2+1) , but was displayed, 2*(x^3 + x)/(x^2 + 1)
How can I get 2*x to be displayed as the output?
bxdinSat, 28 Sep 2013 09:10:14 +0200https://ask.sagemath.org/question/10575/