|
Greg Heath <heath@alumni.brown.edu> wrote in message <af5a3716-8c52-4113-8dfd-4d76905512a7@g31g2000yqh.googlegroups.com>...
> On Sep 19, 11:03 am, "Javier " <ja...@postal.uv.es> wrote:
> > Hi,
> >
> > I have a nonlinear system of 4 equations with 4 unknowns like:
> >
> > y1 = f(x1,x2,x3,x4) = 0;
> > y2 = f(x1,x2,x3,x4) = 0;
> > y3 = f(x1,x2,x3,x4) = 0;
> > y4 = f(x1,x2,x3,x4) = 0;
> >
> > But I have 4 boundaries: x1-4 are inside [-2e-2, 2e-2]
> > I want to find the x1-4 inside these boundaries that make y1-4 = 0 or at least that minimises them below 1e-13.
> >
> > Can I put these constraint in fsolve? Should I use another function?
> >
> > Thanks.
>
> Did you mean to use 4 different functions f1,f2,f3 and f4?
>
> Hope this helps.
>
> Greg
Yes, I didn't write that clear, but I have different f1 to f4 functions.
|