|
Posted: 11/5/21
Due: 11/12/21, 11:55PM
Apply the Gram-Schmidt process to to obtain the first three Legendre polynomials , orthonormal with respect to the scalar product
Show intermediate steps. Check hand calculations with symbolic integration packages.
Find the best approximant of in the Hilbert space with scalar product and norm
Find the best inf-norm approximant by of , .
By the equioscillation theorem, the solution is a line that intersects the graph of twice such that the error has three extrema of equal absolute value at , with stationary at . Write the four equations that arise
Solve the above problem, and plot .
Extra credit (3 points). Apply the Remez algorithm to Q3
Find and plot the first six members of the orthonormal basis obtained from applying the Gram-Schmidt algorithm to with the scalar product
Find and plot the best approximants of
in span for and scalar product from problem 1, for .
First, carry out analytical computations. Symbolic computation software (Maple, Mathematica, Maxima) is allowed. Maxima is available in the SciComp@UNC virtual machine.
For each , form the matrix at sample points within [0,1] and . Solve the least squares problem
in the Euclidean two-norm. Plot the numerically determined approximants
together with the analytically determined approximants, and compare.
Apply the Remez algorithm to find the best inf-norm approximant by a quadratic of , . Establish your own convergence criteria.
Extra credit (3points). Implement the Remez algorithm. Use whatever root-finding routine is available within the programming environment (e.g., Roots for Julia) to solve the extrema conditions needed in the Remez algorithm.