Page 1 sur 1

arg(5^(2-3*i)) => 0

Publié : ven. oct. 12, 2018 1:11 pm
par compsystems
Hi BP, when trying to find the angle, return zero

arg(5^(2-3*i)) => 0

pow2exp(5^(2-3*i)) => exp((2-3*i)*ln(5))

arg(exp((2-3*i)*ln(5))) => -3*ln(5)+2*pi

Re: arg(5^(2-3*i)) => 0

Publié : ven. oct. 12, 2018 3:56 pm
par lukamar

Code : Tout sélectionner

approx(5^(2-3i)) => 2.89163219743+24.8322061693*i
Looks like a bug in arg...

Re: arg(5^(2-3*i)) => 0

Publié : sam. oct. 13, 2018 6:17 am
par parisse
Indeed, will be fixed.