Last time | Next time |
Today:
You should have received an electronic copy with comments and your grade.
Recall that your exam grade is 70% in-class, and 30% take-home. So you need to weight your two grades, to get your grade for the exam: \[ grade = .7*inclass+.3*takehome \]
You can run "danny.m" to verify that some of the commands are working.
Let's take a look at that one. Yimin provideds some octave code.
So if you haven't read it yet, please take a look!
I ask that you give it special attention: you are to write some octave code, and then use it to work several exercises. I need to see that you can actually code. It's a huge part of numerical analysis....
We know the value of $f$ at a selection of points, $f(x_{0})=y_{0},f(x_{1})=x_{1},\ldots,f(x_{n})=y_{n}$. The interpolating polynomial of least degree \(P_n\) passing through the $n+1$ points \[ (x_{0},y_{0}),(x_{1},y_{1}),\ldots,(x_{n},y_{n}) \] agrees with $f$ at $x_{0},x_{1},\ldots,x_{n}$ and we can say with some precision how closely this interpolating polynomial \(P_n\) agrees with $f$ at other points as well:
If $f$ has $n+1$ derivatives on $(a,b)$ and $f,f',f'',\ldots,f^{(n)}$ are all continuous on $[a,b]$, then there is a value $\xi_{x}\in(a,b)$ such that \[ f(x)-P_{n}(x)=\frac{f^{(n+1)}(\xi_{x})}{(n+1)!}(x-x_{0})(x-x_{1})\cdots(x-x_{n}). \]
You're back for the exciting conclusion!