suppose there is an ODE function F
solved by NDSolve
and the solution of this function is in the range [-40 : 34]. Only, I need where the F==0
, or the value of F
in the interval between [-1,1]. How can I achieve this by using table:
Table[If[F <= 10^-2, Print@F, Return["Exit", Table]];, {x, 3.2, 3.5, 0.01}, {y, 3.2, 3.5,0.01}]
Using the above code gives me all the negative region. So, I am trying to catch the value of function F
when it close to zero or zero, and prints it if the following condition is satisfied: a) The F
has a value close to zero. Thanks in advance for your time, and sorry if this is simple, I couldn’t find a solution within this site.