Re: MuPad: solve problem
From: Vladimir Bondarenko (vb_at_cybertester.com)
Date: 01/06/05
- Next message: alex goldman: "Re: metamath scope"
- Previous message: Peter Pein: "Re: [MuPad] SciLab Link doesn't work?"
- In reply to: Marco: "MuPad: solve problem"
- Messages sorted by: [ date ] [ thread ]
Date: 5 Jan 2005 20:49:16 -0800
Marco wrote:
> MuPad shows a very strange behaviour in using solve on
> expressions which contain roots:
> When I try to solve the (trivial) expression
> solve({sqrt(x)=y,y=b},{x,y}) I get the senseless
> solution {[]}.
This bug is fixed in MuPAD 3.1/3.0 but both of them returns now
piecewise([- y + x^(1/2) = 0 and - b + y = 0, {[]}],
[- y + x^(1/2) <> 0 or - b + y <> 0, {}])
which itself constitutes a new bug - because it is trivial to
solve this and Derive 6.1/Maple 9.5.1/Mathematica 5.1 can do it.
SOLVE([SQRT(x) = y, y = b], [x, y])
solve({sqrt(x) = y, y = b}, {x, y});
Solve[{Sqrt[x] == y, y == b}, {x, y}]
[x = IF(b > 0, b^2) AND y = b]
{y = b, x = b^2}
{{x -> b^2, y -> b}}
Best wishes,
Vladimir Bondarenko
http://www.cybertester.com/
http://maple.bug-list.org/
http://www.CAS-testing.org/
- Next message: alex goldman: "Re: metamath scope"
- Previous message: Peter Pein: "Re: [MuPad] SciLab Link doesn't work?"
- In reply to: Marco: "MuPad: solve problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|