06.09.2021 Views

First Semester in Numerical Analysis with Julia, 2020a

First Semester in Numerical Analysis with Julia, 2020a

First Semester in Numerical Analysis with Julia, 2020a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 5. APPROXIMATION THEORY 216<br />

Exercise 5.3-3: Use <strong>Julia</strong> to compute the least squares polynomial approximations<br />

P 2 (x),P 4 (x),P 6 (x) to s<strong>in</strong> 4x us<strong>in</strong>g Chebyshev basis polynomials. Plot the polynomials together<br />

<strong>with</strong> s<strong>in</strong> 4x.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!