Question: question on fsolve

October 25 2010 zfaigl 15
Maple
1


Dear All,

I would like to use fsolve in an algorithm, and have problems with handling the cases where there is no solution. The help writes that in case of no solution, the fsolve assigns a NULL value to the output variable. So I exoect that I should be able to handle cases where I have solutions using the "if solution<>NULL ..." statement .

 

In some cases it is not true: fsolve writes out the input, instead of saying that there is no solution. See for example this function. How to make fsolve realize that there was no solution


BR,

Zoltan Faigl

(1)

(2)

(3)

 



Download question_fsolve.mw

Please Wait...