2023-06-01 08:43:06 +0200 | received badge | ● Notable Question (source) |
2021-03-17 21:32:06 +0200 | received badge | ● Popular Question (source) |
2018-10-12 22:37:17 +0200 | received badge | ● Student (source) |
2018-10-12 18:09:57 +0200 | commented question | Polynomial interpolation given a mathematic function f(x), an interval [a,b] and a natural number n Thanks you saved my life. |
2018-10-12 14:39:38 +0200 | asked a question | Polynomial interpolation given a mathematic function f(x), an interval [a,b] and a natural number n Hi, i'm a computer science bachelor 's student and i'm having some trouble with this exercice, i'd like to get some help since it's my first course using sagemath, thanks, the exercice: Write a function that takes as input a mathematical function f, an interval [a, b] and a natural n and return the interpolative polynomial of the function in the n + 1 points resulting from dividing the interval into subinterval n of equal length. That is to say, a polynomial p (x) of degree ≤ n such p (xi) = f (xi), where xi = a + i * ((b-a)/n) for all i = 0, ... n. I'm stuck in the way of transforming a list into a matrix. This is what i've tried so far: And gives me this error: Pls help, thanks. |