MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: (-1)^(1/2.) on Mathematica!

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107547] Re: (-1)^(1/2.) on Mathematica!
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Tue, 16 Feb 2010 03:55:09 -0500 (EST)
  • References: <hlb8qi$rm5$1@smc.vnet.net>

"Legendre" <sinankapcak at gmail.com> wrote in message 
news:hlb8qi$rm5$1 at smc.vnet.net...
> Hi,
>
> I tried the expression (-1)^(1/2.) on Mathematica 7.0, I got 
> 6.12323*10^(-17) + 1. i. By using //N there is no problem. But using 2. it 
> gives a wrong answer.
>
> Sinan
>

Which is the answer that is wrong?

In[29]:= Chop[(-1)^(1/2.)]
Out[29]= 1.*I

In[30]:= (-1)^(1/2)
Out[30]= I



--Nasser 




  • Prev by Date: Re: (-1)^(1/2.) on Mathematica!
  • Next by Date: Re: (-1)^(1/2.) on Mathematica!
  • Previous by thread: Re: Re: (-1)^(1/2.) on Mathematica!
  • Next by thread: Re: (-1)^(1/2.) on Mathematica!