Suppose K is the 9 by 9 second difference matrix (2's on the diagonal, -1's on the diagonal above and also below). Solve the equation Kx = b = (10, ..., 10). If you graph x1, ..., x9 above the points 1, ..., 9 on the x axis, I think the nine points fall on a parabola.
怎么用python画这个图?
这是答案,用的是matlab: