syms x;f(x) = (2.*x-1).*sin(pi.*x);xMin = -2; xMax = 1; stepSize = 0.01;for i=1:5 y=diff(f(x),i); [val,idx] = max(y) ;%Error using sym/max (line 101)
%Input arguments must be convertible to floating-point numbers.
eval(val)end
help me fix it plz
Best Answer