Re: Re: Big problem in solving radicals.
- To: mathgroup at smc.vnet.net
- Subject: [mg41819] Re: [mg41786] Re: Big problem in solving radicals.
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Fri, 6 Jun 2003 09:50:49 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I should really be more careful when I say something like that! Of
course I meant:
If[Re[a]<0||(Re[a]==0&&Im[a]<0),a^2, Solve[x^(1/2)+a==0,x]]
has the correct syntax. But actually I think
If[Re[a]<0||(Re[a]==0&&Im[a]<0),a^2, {}],
(which is stronger), is correct.
Andrzej Kozlowski
Yokohama, Japan
http://www.mimuw.edu.pl/~akoz/
http://platon.c.u-tokyo.ac.jp/andrzej/
On Thursday, June 5, 2003, at 11:31 pm, Andrzej Kozlowski wrote:
> Actually, I think that should have been:
>
>
> If[Re[a]<0||(Re[a]==0&&Im[a]<0),a^2,Solve[x^(1/2)+a==0]
>
> which, by the way, is the correct Mathematica syntax for this sort of
> thing.
>