educational course/tutorialoutlet.com educational course/tutorialoutlet.com

APMA 0160 Homework 5 FOR MORE CLASSES VISIT
www. tutorialoutlet. com

APMA 0160 Homework 5 FOR MORE CLASSES VISIT

www. tutorialoutlet. com

Homework 5 due Wednesday, March 8, 5pm Submit zipped. m files on Canvas and printed published file in 182 George St box # 15 or # 16 You are encouraged to work with other students on this assignment but you are expected to write and work on your own answers. You don‘ t need to provide the name of students you worked with. You can find information about usage and syntax of any built-in Matlab function by typing help xfunctionnamey in the Command window, where is the space character. You are expected to submit( I) a zipped file containing all your. m and any. out files online on Canvas( II) a printout of the files produced by the publish command of the filled in template and all other. m files your template uses in the dropbox in 182 George St lobby(# 15 for S01 and # 16 for S02) Late homework will not be accepted without proper justification. Problem 1: Lagrangian interpolation For this problem, you will find the unique polynomial of degree n, Πn, that goes through a set of datapoints tpxk, yk qunk0 using Lagrangian interpolation. You will also measure the maximum error in a given interval, assuming that yk‘ s are values of the Runge‘ s function. Write a Matlab function with the definition function [ LPvalues ] = LagrangePoly( xdata, ydata, xgrid)