Re: negative base raised to fractional exponent

2007-10-17 Thread Bjoern Schliessmann
[EMAIL PROTECTED] wrote: > Thank you for this. Now I need to somehow express this as a real > number. For example, I can transform the real and imaginary parts > into a polar coordinate giving me the value I want: > > z = sqrt( real_part**2 + imaj_part**2 ) > > but this is an absolute terms.

Re: negative base raised to fractional exponent

2007-10-17 Thread John J. Lee
[EMAIL PROTECTED] writes: [...] > Thank you for this. Now I need to somehow express this as a real > number. For example, I can transform the real and imaginary parts into > a polar coordinate giving me the value I want: > > z = sqrt( real_part**2 + imaj_part**2 ) > > but this is an absolute terms.

Re: negative base raised to fractional exponent

2007-10-17 Thread Ken Schutte
[EMAIL PROTECTED] wrote: > On Oct 17, 4:05 am, Ken Schutte <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] wrote: >>> Does anyone know of an approximation to raising a negative base to a >>> fractional exponent? For example, (-3)^-4.1 since this cannot be >>> computed without using imaginary nu

Re: negative base raised to fractional exponent

2007-10-17 Thread schaefer . mp
On Oct 17, 4:05 am, Ken Schutte <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Does anyone know of an approximation to raising a negative base to a > > fractional exponent? For example, (-3)^-4.1 since this cannot be > > computed without using imaginary numbers. Any help is appreciat

Re: negative base raised to fractional exponent

2007-10-17 Thread Steve Holden
John Machin wrote: > On Oct 17, 8:03 am, Steve Holden <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] wrote: >>> Does anyone know of an approximation to raising a negative base to a >>> fractional exponent? For example, (-3)^-4.1 since this cannot be >>> computed without using imaginary numbers

Re: negative base raised to fractional exponent

2007-10-16 Thread Ken Schutte
[EMAIL PROTECTED] wrote: > Does anyone know of an approximation to raising a negative base to a > fractional exponent? For example, (-3)^-4.1 since this cannot be > computed without using imaginary numbers. Any help is appreciated. As others have said, you can use Python's complex numbers (jus

Re: negative base raised to fractional exponent

2007-10-16 Thread Karthik Gurusamy
On Oct 16, 2:48 pm, [EMAIL PROTECTED] wrote: > Does anyone know of an approximation to raising a negative base to a > fractional exponent? For example, (-3)^-4.1 since this cannot be > computed without using imaginary numbers. Any help is appreciated. Use complex numbers. They are part of pyth

Re: negative base raised to fractional exponent

2007-10-16 Thread John Machin
On Oct 17, 8:03 am, Steve Holden <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Does anyone know of an approximation to raising a negative base to a > > fractional exponent? For example, (-3)^-4.1 since this cannot be > > computed without using imaginary numbers. Any help is apprecia

Re: negative base raised to fractional exponent

2007-10-16 Thread Robert Kern
Steve Holden wrote: > [EMAIL PROTECTED] wrote: >> Does anyone know of an approximation to raising a negative base to a >> fractional exponent? For example, (-3)^-4.1 since this cannot be >> computed without using imaginary numbers. Any help is appreciated. >> > A couple of questions. > > 1. Ho

Re: negative base raised to fractional exponent

2007-10-16 Thread Steve Holden
[EMAIL PROTECTED] wrote: > Does anyone know of an approximation to raising a negative base to a > fractional exponent? For example, (-3)^-4.1 since this cannot be > computed without using imaginary numbers. Any help is appreciated. > A couple of questions. 1. How do you approximate a complex