Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15653 > unrolled thread
| Started by | Daniel Lichtblau <danl@wolfram.com> |
|---|---|
| First post | 2011-02-03 10:30 +0000 |
| Last post | 2011-02-03 10:30 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: it isn't strange?! Daniel Lichtblau <danl@wolfram.com> - 2011-02-03 10:30 +0000
| From | Daniel Lichtblau <danl@wolfram.com> |
|---|---|
| Date | 2011-02-03 10:30 +0000 |
| Subject | Re: it isn't strange?! |
| Message-ID | <iie050$bmg$1@smc.vnet.net> |
olfa wrote:
> Hi Mathematica community,
>
> here is my pb:
>
> input:
> Reduce[Max[a, b] == Max[c, d], c, Reals]
> output:
> (d < Max[a, b] && c == Max[a, b]) || (d == Max[a, b] && c <= Max[a,
> b])
>
> when testing this output with 2 initialisations:
> d = 2 a = 4 b = 3 c = 6 here d < Max[4, 3] but c is not equal to
> Max[4, 3]
>
> d = 4 a = 4 b = 3 c = 6 here d = Max[4, 3] but c is not <= to
> Max[4, 3]
>
> where is the pb?!
I see no problem in the results below.
In[27]:= rr = Reduce[Max[a, b] == Max[c, d], c, Reals]
Out[27]= (d < Max[a, b] && c == Max[a, b]) || (d == Max[a, b] &&
c <= Max[a, b])
In[28]:= rr /. {d -> 2, a -> 4, b -> 3, c -> 6}
Out[28]= False
In[29]:= rr /. {d -> 4, a -> 4, b -> 3, c -> 6}
Out[29]= False
It occurs to me that you gave no serious information about what,
specifically, you did in "testing". That is to say, no code is shown. So
it is unlikely anyone will succeed in leading you to the lead.
Daniel Lichtblau
Wolfram Research
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web