Re: [sage-support] Taylor Polynomial possible "bug" in return

2013-01-10 Thread LFS
Hiya Burcin, Thanks for reply! For my cubic polynomials p0 and p1, I did get the following to work: p0=p.series(x==xD[0],4) p1=q.series(x==xD[1],4) print p0; p1 x |--> 1.0601 + 0.59497*x + (-0.08502)*x^3 x |--> 1.5698 + 0.34008*(x - 1)

Re: [sage-support] Taylor Polynomial possible "bug" in return

2013-01-10 Thread Burcin Erocal
On Thu, 10 Jan 2013 03:09:05 -0800 (PST) LFS wrote: > Hiya, Probably I am just doing something wrong ... > I have a cubic polynomial p(x) with "regular" coefficients and I > wanted coefficients around e.g. (x-1). So I did p1=p.taylor(x,1,3). > I get: > > x |--> 0.085*(x - 1)^3 - 0.255*(x - 1)^2

[sage-support] Taylor Polynomial possible "bug" in return

2013-01-10 Thread LFS
Hiya, Probably I am just doing something wrong ... I have a cubic polynomial p(x) with "regular" coefficients and I wanted coefficients around e.g. (x-1). So I did p1=p.taylor(x,1,3). I get: x |--> 0.085*(x - 1)^3 - 0.255*(x - 1)^2 + 0.34*x + 1.23 The polynomial is correct, but look at the last