MATLAB: I couldn’t find what is wrong with this solution. Can you help me

MATLAB

Best Answer

The fzero function will only find one root on each interval. You will need to use a loop and have fzero begin with a different initial position in each iteration.