Re:symbolic calculations with complex numbers
- To: mathgroup at smc.vnet.net
- Subject: [mg31956] Re:symbolic calculations with complex numbers
- From: "Robert Nowak" <robert.nowak at ims.co.at>
- Date: Fri, 14 Dec 2001 04:21:19 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
usually this shoud be enough In[40]:= Abs[p + I q]//ComplexExpand Out[40]= Abs[p + I q] but this time we need the following (who knows why ?) In[41]:= Abs[p+I q]//ComplexExpand[#,TargetFunctions->{Re,Im}]& Out[41]= Sqrt[p^2 + q^2] --- Robert Nowak (robert.nowak at ims.co.at) IMS Nanofabrication GmbH A-1020 Wien, Schreygasse 3, Austria Phone: (+43 1)2144894-32, Fax: (+43 1)2144894-99