From: "Mauricio Fernández" Date: 2003-02-06T07:35:17+09:00 Subject: Re: Error in Complex On Thu, Feb 06, 2003 at 07:19:00AM +0900, Hal E. Fulton wrote: > > -i = exp(-i * pi/2) > > (-i)^(2/3) = (1)^2/3 * exp(-i * pi/2 * 2/3) > > = exp(-i * pi/3) > > = cos(pi/3) - i sin(pi/3) > > = 1/2 - sqrt(3)/2 > > OK, I admit I'm showing my ignorance here. > How do you reconcile that with: > > (-i)**(2/3.0) > ((-i)**2)**3.0) ^^^^^^ ((-i)^2)^(1/3) > (-1)**3.0 > -1 > > ?? > Hal > -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com Problem solving under Linux has never been the circus that it is under AIX. -- Pete Ehlke in comp.unix.aix