MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Inequalities


On Jun 21, 2007, at 5:29 AM, Bruno Campanini wrote:

> -10 <= 3x+2 <= 10
>
> I tried with FindInstance and Reduce but was unable to
> get the right range solution  -4 <= x <= 8/3
>
> Any suggestions.
>
> Bruno

Here is a newbie suggestion:

In[1]:=
Reduce[-10 <= 3*x + 2 &&
    3*x + 2 <= 10, x]
Out[1]=
-4 <= x <= 8/3

J=E1nos


----------------------------------------------
Trying to argue with a politician is like lifting up the head of a 
corpse.
(S. Lem: His Master Voice)



  • Prev by Date: RE: Inequalities
  • Next by Date: Re: ComplexExpand in Mathematica 5.2 and 6
  • Previous by thread: RE: Inequalities
  • Next by thread: Re: Inequalities