Re: Inequalities
- To: mathgroup at smc.vnet.net
- Subject: [mg78056] Re: Inequalities
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Fri, 22 Jun 2007 06:33:07 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <f5dghc$nql$1@smc.vnet.net>
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
Hi Bruno,
Are you fooling yourself?
In[1]:=
$Version
ineq = -10 <= 3*x + 2 <= 10;
Reduce[ineq, x]
Out[1]=
5.2 for Microsoft Windows (June 20, 2005)
Out[3]=
8
-4 <= x <= -
3
In[1]:= $Version
ineq = -10 <= 3*x + 2 <= 10;
Reduce[ineq, x]
Out[1]= 6.0 for Microsoft Windows (32-bit) (April 20, 2007)
Out[3]=
8
-4 <= x <= -
3
Regards,
Jean-Marc