Using the user-defined function LagrangeInterp, given the data in the following table: a….

 
   

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadlines.  

Using the user-defined function LagrangeInterp, given the data in the following table:

a. Interpolate at x = 1.5 with a second-degree Lagrange polynomial using three most suitable data points.

b. Interpolate at x = 3 with a third-degree Lagrange polynomial using four most suitable data points.