Extracting solutions from Solve[]

• To: mathgroup at smc.vnet.net
• Subject: [mg82547] Extracting solutions from Solve[]
• From: "Isaac Martinez G." <isaac.martinez at sbcglobal.net>
• Date: Wed, 24 Oct 2007 04:29:21 -0400 (EDT)

```Hello group:
New guy to Mathematica and I am using the Solve function to find all the roots of a non linear set of equations.
My question is once I have all the solution I am getting rid of all the complex ones and then I need to keep the ones that are within the interval [0,1].
I have the following nested list after removing complex values:
{{}, {}, {}, {}, {}, {}, {}, {}, {
1., -0.357968, -0.0366376}, {1., -0.357968, -0.0366376}, {}, {}, {}, {}, \
{0.326026, -0.812319, 0.0112833}, {-0.791102,
0.283189, 0.0113524}, {}, {}, {0.454731, 0.840435, 0.0318799}, {}, {}, \
{0.999998,
1.8482, 1.63961}, {0.999997, 1.8482, 1.63962}, {0.998429, -2.49158,
3.06313}, {0.999101, -2.49158, 3.06323}}

I need to take the solution/group that is within [0,1].
How do you do this??
Any help is appreciated....no luck so far...

```

• Prev by Date: Re: Plot and manipulate a long list of X,Y,Z data in Mathematica 6.01
• Next by Date: Re: What am I doing wrong with this code?
• Previous by thread: Re: Problem with Differential Eq
• Next by thread: Re: Extracting solutions from Solve[]