MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: symbolic calculations with complex numbers


Roberto:

ComplexExpand[A[a +Abs[p+ I Sin[ q]]] , TargetFunctions->{Re,Im}]

    A[a + Sqrt[p^2 + Sin[q]^2]]

--
Allan

---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565


"Roberto Dinapoli" <dinapoli at usa.net> wrote in message
news:9vccvd$359$1 at smc.vnet.net...
> Hello,
> I've a problem: is there a way to convince mathematica to do symbolic
> calculations and simplifications taking all symbolic variables as real?
> example:
> Abs[p+ I q] is not evaluated, I'd like to see : sqrt[ sqr[p]+sqr[q] ]...
>
> for all the calculations I have to do it's really important.
>
> Thanks a lot
> Roberto
>
>
>




  • Prev by Date: Re: Re: Solve[] for equations?
  • Next by Date: Can I clear all vaiables ?
  • Previous by thread: Re: symbolic calculations with complex numbers
  • Next by thread: Re: symbolic calculations with complex numbers