FZERO
If the \NOMESSAGES qualifier is used, then there will be no informational
messages output to the monitor screen.
If you want 2 roots of the function: f(X) = EXP(0.4*X)-0.4*X-9
X=[0;0] ! define dummy vector with 2 elements
FZERO X EXP(0.4*X)-0.4*X-9 ! results reported below
Root# 1 = 6.0921D+00 after 10 iterations
Root# 2 = -2.2500D+01 after 12 iterations
If you initialize X differently, the number of iterations will change:
X=[10;-20]
FZERO X EXP(0.4*X)-0.4*X-9 results in:
Root# 1 = 6.0921D+00 after 8 iterations
Root# 2 = -2.2500D+01 after 6 iterations
In either case, the vector X will be [6.09209924;-22.4996914]