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

Messages in english

Modérateur : xcasadmin

compsystems
Messages : 562
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

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

Message par compsystems » ven. oct. 12, 2018 1:11 pm

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

lukamar
Messages : 331
Inscription : ven. juin 30, 2017 9:55 am
Localisation : Zagreb, Croatia

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

Message par lukamar » ven. oct. 12, 2018 3:56 pm

Code : Tout sélectionner

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

parisse
Messages : 5739
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

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

Message par parisse » sam. oct. 13, 2018 6:17 am

Indeed, will be fixed.

Répondre