Frage

In Mathematica I have something like

FindRoot[f[x], {x, a}]

Now I want FindRoot to constrain the solutions to 0 < x < 1.

How can I obtain this?

Thanks

War es hilfreich?

Lösung

There is a four-parameter option for this function: FindRoot[f[x],{x,xstart,xmin,xmax}] which stops the search if the search ventures outside of the interval [xmin,xmax].

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top