Develop A Function M File That Returns The Difference Between The Passed Functio

Develop a function M-file that returns the difference between the passed functions maximum and minimum value given a range of the indepenent variable. In addition, have the function generate a plot of the function for the range.Then, test it for the following cases:a) f(t)=10e-.25tsin(t-4) from t=0 to 6pib) f(x)=e5xsin(1/x) from x=0.01 to 0.2c) The built in humps function from x=0 to 3