Re: [sage-support] Symbolic lagrange polynomials

2011-09-12 Thread Michael Orlitzky
On 09/12/11 10:02, Michael Orlitzky wrote: > >> (p1 - p2).full_simplify() > 0 >> p1.coefficient(t, 2) > 1/4*(2*x - sqrt(2))^2 >> p2.coefficient(t, 2) > 0 Disregard that, coefficient() does not work how I thought it did. -- To post to this group, send email to sage-support@googlegroups.com To un

[sage-support] Symbolic lagrange polynomials

2011-09-12 Thread Michael Orlitzky
I'm trying to compute the lagrange polynomial in 't' through three points containing 'x' terms. 1. It's hell =) but there's sort-of a trac ticket for that already[1]. The example given doesn't work when the data contain other symbolic values. I ultimately had to get the coefficients and reconstruc