3.18 Applied Numerical Methods with Matlab 2nd edition , Steven Chapra

Develop a function function M-file that returns the difference between the passed function's maximum and minimum value given a range of the independent varible. Inaddition, have the function generate a plot of the function for the range. Test it for the following cases:
(a) f(t) = 10e^-0.25t sin(t – 4) from t=0 to 6pi
(b) f(x)=e^5x sin(1/x) from x =0.01 to 0.2
(c) The built-in humps function from x= 0 to 3


Expert Solution
No answers

Submit Your Answer