Given the data:
T = 300, 350, 400, 250, 450, 200
D = 1.139, 0.967, 0.854, 1.367, 0.759, 1.708
Submit a Word file. Write MATLAB or Octave code to find the following. Include the code as text and the output as screenshots.
Find the density D at Temperature T = 325 K using:
a. Newton divided difference interpolation
b. Lagrange's interpolation
c. Use the MATLAB built-in function interp1