Homework will be collected at the due dates indicated below, and should be completed by 511 pm (on the indicated due date).
Your completed homework assignments should be submitted via gradescope.
Please note that due to scheduling constraints, some assignments are longer than others.
A good practice is to do the homework questions associated with a particular section immediately after it is covered in class.
Please observe the following neatness guidelines for homework that you turn in to be graded. Otherwise, you will not receive full credit and your assignment may not be graded at all.
Write cleanly and legibly on clean, white paper that is not torn from a spiral notebook.
Write your Name, PID, and Section on the front page of your assignment.
You must do the computer part of each homework, otherwise you will not receive credit for the homework.
Apr. 17 Comment: The computer part of your HW should be done using either Matlab (preferably) or Python.
Computer Problem: Write a program that takes takes data points (x_i,y_i), i=0,...,n, and outputs the Newton form of the interpolating polynomial (suffices to compute the coefficients). Write another program for the Lagrange form.
Using the code you wrote, interpolate the function f(x)=sin(2πx) at ten equi-spaced nodes in [0,1], including 0 and 1. Overlay the value of the interpolating polynomial at twenty equi-spaced points in [0,1] (including 0 and 1).
Verify that both your programs give the same results.
Here is a document giving detailed instructions on what to submit for the computer problem.