MA/CS 375 Fall 2002 Lecture 8 MA/CS375 Fall 2002 Matlab Built-in Derivative Routines diff takes the derivative of a function of one variable sampled at a set of discrete…