Par défaut, Maxima fonctionne dans le domaine réel. Donc l'expression
(-2)^(1/3) est tout de suite simplifiée en -(2^(1/3)), avant même que la
fonction "imagpart" la touche.
Pour travailler dans le domaine complexe, il suffit de dire
domain:'complex$
Par la suite, (-2)^(1/3) est simplifié en (-1)^(1/3)*2^(1/3), et donc
imagpart((-2)^(1/3)) retourne sqrt(3)/2^(2/3), la valeur principale
complexe, comme tu le voulais.
-s
On Mon, Dec 1, 2014 at 9:56 AM, <[email protected]> wrote:
> Bonjour à tous,,
>
> pourquoi wxmaxima 5.34.1 mais aussi http://maxima-online.org me donnent
> une
> partie imaginaire nulle pour la racine cubique de moins deux?
>
> imagpart((-2)^(1/3))
>
> mais aussi avec -1/2 et -1 :
>
> imagpart((-1/2)^(1/3));
> imagpart((-1)^(1/3));
>
> create_list([realpart((-2)^(k/6)),imagpart((-2)^(k/6))],k,-6,6);
>
> create_list([realpart((-1)^(k/6)),imagpart((-1)^(k/6))],k,-6,6);
>
> create_list([realpart((-1/2)^(k/6)),imagpart((-1/2)^(k/6))],k,-6,6);
>
> Ma calculette HP 50G et Wolfram-alpha me donnent une partie imaginaire NON
> nulle
> !
>
> cordialement
>
> JMarc D
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Maxima-lang-fr mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/maxima-lang-fr
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Maxima-lang-fr mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maxima-lang-fr