\relax \providecommand\tcolorbox@label[2]{} \@writefile{toc}{\contentsline {section}{\numberline {1}Problems using monomials for interpolation}{1}} \@writefile{toc}{\contentsline {section}{\numberline {2}Problems using monomials for approximation}{3}} \@writefile{toc}{\contentsline {section}{\numberline {3}Computing the monomial approximant}{4}} \@writefile{lol}{\contentsline {lstlisting}{\numberline {1}Using MATLAB's integal() function.}{4}} \@writefile{lol}{\contentsline {lstlisting}{\numberline {2}monomial\_approximate.m: Monomial approximation to f(x).}{4}} \@writefile{toc}{\contentsline {section}{\numberline {4}Exercise: Approximate sin(x) and humps(x)}{4}} \@writefile{lol}{\contentsline {lstlisting}{\numberline {3}monomial\_approximate\_sin.m: Monomial approximation to sin(x).}{4}} \@writefile{toc}{\contentsline {section}{\numberline {5}Orthogonality of functions}{5}} \@writefile{toc}{\contentsline {section}{\numberline {6}Example: The Legendre polynomials}{6}} \@writefile{toc}{\contentsline {section}{\numberline {7}What is the value of $P_d(x)$?}{6}} \@writefile{lol}{\contentsline {lstlisting}{\numberline {4}legendre\_value.m: Evaluating the d-th Legendre polynomial.}{7}} \@writefile{lol}{\contentsline {lstlisting}{\numberline {5}legendre\_value\_ab.m: Evaluate Legendre polynomial defined in arbitrary interval.}{7}} \@writefile{toc}{\contentsline {section}{\numberline {8}What is the power form representation of $P_d(x)$?}{7}} \@writefile{lol}{\contentsline {lstlisting}{\numberline {6}legendre\_coefficients.m: Coefficients of d-th Legendre polynomial.}{8}} \@writefile{toc}{\contentsline {section}{\numberline {9}Is $P_i(x)$ orthogonal to $P_j(x)$?}{8}} \@writefile{lol}{\contentsline {lstlisting}{\numberline {7}legendre\_dot\_product.m: The dot product of two Legendre polynomials.}{8}} \@writefile{toc}{\contentsline {section}{\numberline {10}Evaluate a linear combination of Legendre polynomials}{9}} \@writefile{lol}{\contentsline {lstlisting}{\numberline {8}legendre\_combo\_value.m: Evaluate a Legendre expansion.}{9}} \@writefile{toc}{\contentsline {section}{\numberline {11}Exercise: Evaluate some Legendre combinations}{10}} \@writefile{toc}{\contentsline {section}{\numberline {12}The norm of a linear combination of Legendre polynomials}{10}} \@writefile{lol}{\contentsline {lstlisting}{\numberline {9}legendre\_combo\_norm.m: Norm of a Legendre linear combination.}{10}} \@writefile{toc}{\contentsline {section}{\numberline {13}Least squares approximation with Legendre polynomials}{11}} \@writefile{toc}{\contentsline {section}{\numberline {14}Computing the Legendre approximant}{11}} \@writefile{lol}{\contentsline {lstlisting}{\numberline {10}legendre\_approximate.m: Approximation with Legendre basis.}{11}} \@writefile{toc}{\contentsline {section}{\numberline {15}Exercise: Approximate the humps function}{11}} \@writefile{lol}{\contentsline {lstlisting}{\numberline {11}legendre\_approximate\_humps.m: Compare humps(x) and approximant.}{11}} \@writefile{toc}{\contentsline {section}{\numberline {16}Computing Assignment \#12}{12}}