are different. Use the command
So it is possible to use either `f' or `f(x)'.
You can see from the last output that MATLAB has found an approximation for the zero.
fzero does not find a zero of a function
, this does not mean the function does not have a zero. When the wrong interval is selected, the function is discontinuous or does not cross
, no zero can be found, although it may exist. This can be the case, for example, when searching for a zero of
. Note that in this case the zero of the function is identical to its minimum.