Re: Solve fails with this simple inequality problem

• To: mathgroup at smc.vnet.net
• Subject: [mg115764] Re: Solve fails with this simple inequality problem
• From: Peter Pein <petsie at dordos.net>
• Date: Thu, 20 Jan 2011 06:29:16 -0500 (EST)
• References: <ih6e6r\$39v\$1@smc.vnet.net>

```On 19.01.2011 11:25, michael partensky wrote:
> Ken, Sqrt  returns by definition the *positive* root.
> Your question would have been legit  (with its syntax properly fixed) for
> the negative root, but this must be handled by adding minus (-Sqrt[19])
> explicitly.
>
> Can anyone help to reformulate the problem to handle both signs elegantly?
> Thanks
> Michael Partenskii
>
>

In[1]:= Solve[m == Floor[sqrt19 + 7] < 6 && sqrt19^2 == 19, {m, sqrt19}]
Out[1]= {{m -> 2, sqrt19 -> -Sqrt[19]}}

>
> On Sun, Jan 16, 2011 at 5:55 AM, KenR<ramsey2879 at msn.com>  wrote:
>
>> Solve[Meter = Floor[Sqrt[19]+7]&&  Meter<  6, Meter] gives a null "{}"
>> Any workarounds?
>>
>>

```

• Prev by Date: Re: adding a keyboard shortcut for double brackets
• Next by Date: Simple n-tuple problem - with no simple solution
• Previous by thread: Re: Solve fails with this simple inequality problem