今天数值分析课上讲了一个很有用的求多项式的方法,给n个点的坐标就可以求出这个函数的多项式来 如给两个点就可以求出这条直线的多项式 给三个点就可以求出这条抛物线(或直线)的多项式
最简单的一个应用就是 已知两点的坐标 求这条直线的函数
接下来把值带进去就行了
不得不说这个还真的是 很难画诶。。。 = =