Transcribed TextTranscribed Text

This is to be a typed report. The matlab functions polyfit and polyval should be useful to you. 1. For each of the algorithms you will be using, write a description of the algorithm, what it is doing, and why. Write at a level in this question and, indeed, for all questions in this assignment and your other assignments in this class, so that a junior in college with the prerequisites for this class can understand what you are saying. 2. For each of the two functions on the interval [-1,1], and (x) - 1 25.2² 1 do the following. a. Find the interpolating polynomial at xj = + for j = 0,1 8. Graph each function on the same graph as the interpolating polynomial. b Find the interpolating polynomial at the zeros of the eighth degree Legendre polynomial. (The nodes and weights are in the paper linked to the web page. )Graph each function on the same graph as the interpolating polynomial. c. For each function f and g compute the integral from -1 to 1. d. Integrate each of the interpolating polynomials you found in a and b from -1 to 1. and compare your results to the integrals of f and g. How does this relate to Newton-Cotes quadrature and Gaussian quadrature. e. For the nodes above, give the composite trapezoid and composite Simpson's rule approximation of the integral. 3. Write a conclusion discussing what you found. 1

Solution PreviewSolution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

Numerical Analysis & Interpolation
    $32.00 for this solution

    PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

    Find A Tutor

    View available Numerical Analysis Tutors

    Get College Homework Help.

    Are you sure you don't want to upload any files?

    Fast tutor response requires as much info as possible.

    Upload a file
    Continue without uploading

    We couldn't find that subject.
    Please select the best match from the list below.

    We'll send you an email right away. If it's not in your inbox, check your spam folder.

    • 1
    • 2
    • 3
    Live Chats