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 two terms.

The 1-degree term is in x not in (x-1) and the difference has been added to 
the 0-degree term.  

I think i should get:

x |--> 0.085*(x - 1)^3 - 0.255*(x - 1)^2 + 0.34*(x-1) + 1.57


See (scroll all the way to the bottom): 
http://sage.math.canterbury.ac.nz/home/pub/237/ 

Thanks for any help. Linda

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to